Commit 0212419 1 parent fbd4f6e commit 0212419 Copy full SHA for 0212419
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import React , { useEffect } from 'react' ;
2
2
import './globals'
3
3
import {
4
- BrowserRouter ,
4
+ HashRouter as Router ,
5
5
Routes ,
6
6
Route ,
7
7
} from "react-router-dom" ;
@@ -121,7 +121,7 @@ function App() {
121
121
< script defer data-domain = "scout-ch.github.io/thilo" src = { 'https://plausible.io/js/script.js' } > </ script >
122
122
</ Helmet >
123
123
< div className = 'App' >
124
- < BrowserRouter basename = "/" >
124
+ < Router basename = "/" >
125
125
< LinksContext . Provider value = { links } >
126
126
< Header />
127
127
< PageLayout sx = { { padding : '0' } } >
@@ -146,7 +146,7 @@ function App() {
146
146
</ PageLayout >
147
147
148
148
</ LinksContext . Provider >
149
- </ BrowserRouter >
149
+ </ Router >
150
150
</ div >
151
151
</ HelmetProvider >
152
152
</ ThemeProvider >
You can’t perform that action at this time.
0 commit comments