Fix admin check in dashboard routes

This commit is contained in:
Bill Thornton
2023-10-08 23:43:31 -04:00
parent c3c6ebef95
commit e5ad3c899e
+3 -3
View File
@@ -53,11 +53,11 @@ const DashboardApp = () => (
<ServerContentPage view='/web/configurationpage' />
} />
</Route>
{/* Suppress warnings for unhandled routes */}
<Route path='*' element={null} />
</Route>
{/* Suppress warnings for unhandled routes */}
<Route path='*' element={null} />
{/* Redirects for old paths */}
{REDIRECTS.map(toRedirectRoute)}
</Routes>