2 Commits

View File

@@ -84,7 +84,7 @@ function AppContent() {
const { authConfig } = useAppContext();
const navigate = useNavigate();
return (
<AuthProvider authConfig={authConfig}>
<AuthProvider authConfig={authConfig} onUnauthorized={() => navigate("/login")}>
<AppTheme>
<CssBaseline enableColorScheme />
<Header routerMapping={routerMapping} />