Skip to content

Commit

Permalink
Merge branch 'fix-default-routing' of Arnei/opencast-admin-interface …
Browse files Browse the repository at this point in the history
…into admin-ui-picard

Pull request #293

  Fix default routing
  • Loading branch information
gregorydlogan committed May 3, 2024
2 parents 484905d + c0a8d07 commit 5b92046
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ function App() {

<Route
path={"*"}
// @ts-expect-error TS(2322): Type '{ path: string; render: () => Element; }' is... Remove this comment to see the full error message
render={() => <Navigate to={"/events/events"} replace />}
element={<Navigate to={"/events/events"} replace />}
/>
</Routes>
</HashRouter>
Expand Down

0 comments on commit 5b92046

Please sign in to comment.