upd: dashboard admin

Deskripsi:
- pagination list pengajuan surat

NO Issues
This commit is contained in:
2025-12-02 11:32:16 +08:00
parent cc7c8eb704
commit 2b94684570
3 changed files with 67 additions and 28 deletions

View File

@@ -201,7 +201,7 @@ function ListPengaduan({ status }: { status: StatusKey }) {
</Group>
</Grid.Col>
</Grid>
{list.length === 0 ? (
{Array.isArray(list) && list.length === 0 ? (
<Flex justify="center" align="center" py={"xl"}>
<Stack gap={4} align="center">
<IconFileSad size={32} color="gray" />