Compare commits
2 Commits
1a8f98d4a2
...
77db5e1f05
| Author | SHA1 | Date | |
|---|---|---|---|
| 77db5e1f05 | |||
| d2347de932 |
@@ -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} />
|
||||
|
||||
Reference in New Issue
Block a user