mirror of
https://github.com/emailerfacu-spec/minix-front.git
synced 2026-04-01 13:10:44 -03:00
fix: async innecesario
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
import { Content } from '@/components/ui/card';
|
||||
import { apiBase } from '@/stores/url';
|
||||
|
||||
$effect(async()=>{
|
||||
await getPosts();
|
||||
$effect(()=>{
|
||||
getPosts();
|
||||
});
|
||||
|
||||
let posts: Post[] = $state([]);
|
||||
|
||||
Reference in New Issue
Block a user