Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 429 Bytes
67b16c6 79b2fcc 67b16c6 79b2fcc 67b16c6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import { Box } from '@mui/material';
import AppLayout from '@/components/Layout/AppLayout';
import { useAuth } from '@/hooks/useAuth';
function App() {
// Non-blocking auth check — fires in background, updates store when done.
// If auth fails later, apiFetch redirects to /auth/login.
useAuth();
return (
<Box sx={{ height: '100vh', display: 'flex' }}>
<AppLayout />
</Box>
);
}
export default App;
|