feat(database): implement resident and complaint API and connect DemografiPekerjaan

This commit is contained in:
2026-03-26 14:17:41 +08:00
parent aeedb17402
commit 0900b8f199
7 changed files with 486 additions and 334 deletions

View File

@@ -55,7 +55,11 @@ export function DashboardContent() {
proses: 0,
selesai: 0,
},
residents: (residentRes.data as any)?.data || { total: 0, heads: 0, poor: 0 },
residents: (residentRes.data as any)?.data || {
total: 0,
heads: 0,
poor: 0,
},
loading: false,
});
} catch (error) {