diff --git a/src/app/(main)/App.tsx b/src/app/(main)/App.tsx index 2fe47d57..e003b213 100644 --- a/src/app/(main)/App.tsx +++ b/src/app/(main)/App.tsx @@ -19,6 +19,7 @@ export function App({ children }) { if (error) { window.location.href = `${process.env.basePath || ''}/login`; + return null; } if (!user || !config) { @@ -30,7 +31,7 @@ export function App({ children }) { } return ( - +