chore: fix linting and type safety across the project

This commit is contained in:
2026-03-26 15:51:45 +08:00
parent ec057ef2e5
commit 0d0dc187a5
46 changed files with 2461 additions and 312 deletions

View File

@@ -25,7 +25,7 @@ function PengaturanLayout() {
const { colorScheme } = useMantineColorScheme();
const isMobile = useMediaQuery("(max-width: 48em)");
const routerState = useRouterState();
const _routerState = useRouterState();
const headerBgColor = colorScheme === "dark" ? "#11192D" : "#19355E";
const navbarBgColor = colorScheme === "dark" ? "#11192D" : "white";
@@ -36,7 +36,7 @@ function PengaturanLayout() {
if (isMobile && opened) {
toggleMobile();
}
}, [routerState.location.pathname, isMobile, opened, toggleMobile]);
}, [isMobile, opened, toggleMobile]);
return (
<AppShell