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