feat: implement ArticleList component with pagination and loading skeleton

This commit is contained in:
2026-04-11 21:37:39 -03:00
parent 56a5d77c6c
commit 79e6fae0f9
7 changed files with 140 additions and 88 deletions

View File

@@ -39,6 +39,8 @@ export const getArticlesPaginated: (
page: number = 1,
pageSize: number = 10
): Promise<PaginatedArticlesResult> => {
// await new Promise((r) => setTimeout(r, 1000));
const result = await service.getArticlesPaginated(page, pageSize);
if (!result.ok) throw result.error;
return result.value;