fix: bug que al inicio no se cargaban los posts

This commit is contained in:
2026-02-04 23:35:41 -03:00
parent 85477ffe7e
commit 7b91483514
4 changed files with 8 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
import { get } from 'svelte/store';
import { page, loadingPosts, PAGE_SIZE } from '@/stores/posts';
import { page, loadingPosts, PAGE_SIZE, resetPosts } from '@/stores/posts';
import { appendPosts } from '@/stores/posts';
import { getPosts } from './getPosts';