diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index a273b09..56fa66e 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -31,7 +31,7 @@ export default function App() { const [dark, toggleDark] = useDarkMode(); useEffect(() => { - checkAuth(); + if (!view.startsWith('legal-')) checkAuth(); }, []); async function checkAuth() {