feat: enhance news fetching with pagination and active status filters

This commit is contained in:
Ardeman
2025-03-20 12:10:38 +08:00
parent d65aed6828
commit 6edca07fa6
8 changed files with 80 additions and 67 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export const NewsCategoriesPage = () => {
<CategorySection
title={name || ''}
description={description || ''}
items={newsData || []}
items={newsData || Promise.resolve({ data: [] })}
/>
</Card>
</div>