Skip to content

Commit

Permalink
Fix admin check in dashboard routes
Browse files Browse the repository at this point in the history
  • Loading branch information
thornbill committed Oct 9, 2023
1 parent c3c6ebe commit e5ad3c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/apps/dashboard/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit e5ad3c8

Please sign in to comment.