Skip to content

Commit

Permalink
Revert "Fix default routing"
Browse files Browse the repository at this point in the history
This reverts commit 3a17c1e.

Commit was accidental.
  • Loading branch information
Arnei committed Feb 12, 2024
1 parent 3a17c1e commit 3609c28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ function App({

<Route
path={"*"}
element={<Navigate to={"/events/events"} replace />}
// @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 />}
/>
</Routes>
</HashRouter>
Expand Down

0 comments on commit 3609c28

Please sign in to comment.