diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index 14a1e61..f61a751 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -20,7 +20,7 @@ const NAV_LINKS = [ { to: "/portal", label: "Customer Portal" }, ]; -export function App() { +function AdminLayout() { const location = useLocation(); return (
@@ -82,9 +82,18 @@ export function App() { } /> } /> } /> - } />
); } + +export function App() { + const location = useLocation(); + + if (location.pathname.startsWith("/portal")) { + return ; + } + + return ; +}