Skip to content

Commit

Permalink
Fix router
Browse files Browse the repository at this point in the history
  • Loading branch information
slhmy committed Oct 2, 2023
1 parent 72f63a9 commit 37e6008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import ProblemList from "../pages/ProblemList";

const PageRouter: React.FC = () => {
return (
<BrowserRouter>
<BrowserRouter basename={import.meta.env.BASE_URL}>
<Suspense>
<Routes>
<Route path="/" element={<Navigate replace to="/problem" />} />
Expand Down

0 comments on commit 37e6008

Please sign in to comment.