Skip to content

Commit

Permalink
Full migration to react-router-dom-v5-compat, with capitalised, main-…
Browse files Browse the repository at this point in the history
…header, main-footer fixed with yarn prettier
  • Loading branch information
Kum yew committed Oct 19, 2024
1 parent 4aa4442 commit a00e586
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ const App: React.FC = () => {
<div className="App">
<Layout className="layout">
<CompatRouter>
<MainHeader />
<Content>
<ErrorBoundary>
<MainHeader />
<Content>
<ErrorBoundary>
<Routes>
<Route path={"/"} element={<MainHome />} />
<Route path={routes.fullStatsOldDetails()} element={<OldStats />} />
Expand All @@ -61,9 +61,9 @@ const App: React.FC = () => {
<Route path="/userProfile" element={<UserProfile />} />
<Route path="*" element={<NotFound />} />
</Routes>
</ErrorBoundary>
</Content>
<MainFooter />
</ErrorBoundary>
</Content>
<MainFooter />
</CompatRouter>
</Layout>
</div>
Expand Down

0 comments on commit a00e586

Please sign in to comment.