feat(database): implement resident and complaint API and connect DemografiPekerjaan
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user