Compare commits
2 Commits
1a8f98d4a2
...
77db5e1f05
| Author | SHA1 | Date | |
|---|---|---|---|
| 77db5e1f05 | |||
| d2347de932 |
@@ -84,7 +84,7 @@ function AppContent() {
|
|||||||
const { authConfig } = useAppContext();
|
const { authConfig } = useAppContext();
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
return (
|
return (
|
||||||
<AuthProvider authConfig={authConfig}>
|
<AuthProvider authConfig={authConfig} onUnauthorized={() => navigate("/login")}>
|
||||||
<AppTheme>
|
<AppTheme>
|
||||||
<CssBaseline enableColorScheme />
|
<CssBaseline enableColorScheme />
|
||||||
<Header routerMapping={routerMapping} />
|
<Header routerMapping={routerMapping} />
|
||||||
|
|||||||
Reference in New Issue
Block a user