From 5ed23cee4876d9b98405ba1525da21e294046b27 Mon Sep 17 00:00:00 2001 From: Andrea Cuneo Date: Fri, 4 Oct 2024 18:15:04 +0200 Subject: [PATCH] wip --- src/lib/router.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/router.tsx b/src/lib/router.tsx index 6bcfab5..21dc10b 100644 --- a/src/lib/router.tsx +++ b/src/lib/router.tsx @@ -1,6 +1,5 @@ -import { useEffect } from "react"; import { Else, If, Then } from "react-if"; -import { Outlet, Route, createBrowserRouter, createRoutesFromChildren, useNavigate } from "react-router-dom"; +import { Outlet, Route, createBrowserRouter, createRoutesFromChildren } from "react-router-dom"; import Layout from "../components/layout/layout"; import type { MainSectionType, SubsectionMenuItemType } from "../components/layout/sideBar/menuItem/types";