Skip to content

Commit

Permalink
Merge pull request #52 from defi-wonderland/dev
Browse files Browse the repository at this point in the history
fix: navigation
  • Loading branch information
0xGorilla authored Sep 18, 2023
2 parents ef2e676 + 28b090d commit 4fcdd4a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BrowserRouter, Routes, Route } from 'react-router-dom';
import { Routes, Route, HashRouter } from 'react-router-dom';

import { PageView } from '~/components/app';
import ScrollToTop from './hooks/ScrollToTop';
Expand All @@ -7,7 +7,7 @@ import { Landing, Squad, Home, Ethos, Creations, Insights, IntroductionPage, Pos
function App() {
return (
<PageView>
<BrowserRouter>
<HashRouter>
<ScrollToTop />
<Routes>
<Route path='/' element={<IntroductionPage />} />
Expand All @@ -20,7 +20,7 @@ function App() {
<Route path='insights/:id' element={<Posts />} />
</Route>
</Routes>
</BrowserRouter>
</HashRouter>
</PageView>
);
}
Expand Down

0 comments on commit 4fcdd4a

Please sign in to comment.