diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index a8f7b2a..b0ac1c7 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -262,6 +262,9 @@ export function App() { return ; } + // Don't render portal chrome at /login — DevLoginSelector is shown instead + const showCustomerPortal = !location.pathname.startsWith("/admin") && location.pathname !== "/login"; + return ( {location.pathname.startsWith("/admin") ? ( @@ -271,12 +274,12 @@ export function App() { {authDisabled && } - ) : ( + ) : showCustomerPortal ? ( <> {authDisabled && } - )} + ) : null} ); }