[WEB-5042] feat: sites vite migration (#7965)

This commit is contained in:
Prateek Shourya 2025-11-06 13:58:24 +05:30 committed by GitHub
parent 315e1d5eb0
commit 118ecc81ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
126 changed files with 1062 additions and 739 deletions

View file

@ -1,6 +1,5 @@
"use client";
import type { FC } from "react";
import { observer } from "mobx-react";
import { usePathname } from "next/navigation";
import { Menu, Settings } from "lucide-react";
@ -11,7 +10,7 @@ import { BreadcrumbLink } from "@/components/common/breadcrumb-link";
// hooks
import { useTheme } from "@/hooks/store";
export const HamburgerToggle: FC = observer(() => {
export const HamburgerToggle = observer(() => {
const { isSidebarCollapsed, toggleSidebar } = useTheme();
return (
<div
@ -23,7 +22,7 @@ export const HamburgerToggle: FC = observer(() => {
);
});
export const AdminHeader: FC = observer(() => {
export const AdminHeader = observer(() => {
const pathName = usePathname();
const getHeaderTitle = (pathName: string) => {