From 1f456f4d174467d56e6c0cb0e3c181c3f57d6fba Mon Sep 17 00:00:00 2001 From: wixarm Date: Sun, 1 Feb 2026 15:49:32 +0330 Subject: [PATCH] update: combine menu and sidebar paths --- src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index dff94f5..41d34a9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -11,7 +11,7 @@ import { makeRouter } from "./routes/routes"; import { useDarkMode } from "./hooks/useDarkMode"; import { ItemWithSubItems } from "./types/userPermissions"; import { useFetchProfile } from "./hooks/useFetchProfile"; -import { getInspectionMenuItems } from "./screen/SideBar"; +import { getInspectionMenuItems } from "./config/menuItems"; const versionNumber = "/src/version.txt"; import "./index.css"; @@ -127,7 +127,7 @@ export default function App() { window.history.replaceState( {}, document.title, - url.pathname + url.search + url.pathname + url.search, ); } }, []);