diff --git a/src/components/layouts/MainLayout.tsx b/src/components/layouts/MainLayout.tsx index f68aee9..d07a121 100644 --- a/src/components/layouts/MainLayout.tsx +++ b/src/components/layouts/MainLayout.tsx @@ -1,15 +1,12 @@ -import { Outlet, useLocation } from 'react-router-dom'; +import { Outlet } from 'react-router-dom'; import { NavBar } from '../common/NavBar'; import { Footer } from '../common/Footer.tsx'; const MainLayout = () => { - const location = useLocation(); - const isLandingPage = location.pathname === '/'; - return ( -
+
-
+