refactor: merge to single file

This commit is contained in:
lleohao
2024-09-07 14:07:05 +00:00
parent e44dbd0fa4
commit 1b0760f5af
85 changed files with 452 additions and 591 deletions

View File

@ -16,9 +16,7 @@ import { useTranslation } from "react-i18next";
const links = [{ link: APP_ROUTE.HOME, label: "Home" }];
export function AppHeader() {
const { t } = useTranslation("translation", {
keyPrefix: "layout",
});
const { t } = useTranslation();
const [mobileOpened] = useAtom(mobileSidebarAtom);
const toggleMobile = useToggleSidebar(mobileSidebarAtom);