fix: total data saat loading pada fitur project

This commit is contained in:
amel
2024-11-07 14:43:24 +08:00
parent bf91217b53
commit 6806e8ba02

View File

@@ -156,7 +156,7 @@ export default function ListProject() {
<Box bg={tema.get().bgTotalKegiatan} p={10} style={{ borderRadius: 10 }}>
<Text fw={'bold'} c={tema.get().utama}>Total Kegiatan</Text>
<Flex justify={'center'} align={'center'} h={'100%'}>
<Text fz={40} fw={'bold'} c={tema.get().utama}>{totalData}</Text>
<Text fz={40} fw={'bold'} c={tema.get().utama}>{loading ? 0 : totalData}</Text>
</Flex>
</Box>
{isList ? (