fix: drawer katalog

Deskripsi:
- on click kotak drawer

No Issues
This commit is contained in:
amel
2024-12-11 12:03:56 +08:00
parent 97fe458e1d
commit eab293dd35

View File

@@ -108,14 +108,12 @@ export default function DrawerKatalogNew({
</Group> </Group>
<SimpleGrid cols={4}> <SimpleGrid cols={4}>
{listPage.map((e, i) => ( {listPage.map((e, i) => (
<Stack key={i} align="center" spacing={"xs"}> <Stack key={i} align="center" spacing={"xs"}
<ActionIcon onClick={() => {
variant="transparent" router.push(e.path, { scroll: false });
c="white" }}
onClick={() => { >
router.push(e.path, { scroll: false }); <ActionIcon variant="transparent" c="white" >
}}
>
{e.icon} {e.icon}
</ActionIcon> </ActionIcon>
<Text align="center" color="white"> <Text align="center" color="white">