Skip to content

Commit bb5efde

Browse files
feat: hashrouter
1 parent 70daa48 commit bb5efde

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { BrowserRouter, Route, Routes } from "react-router-dom"
1+
import { HashRouter, Route, Routes } from "react-router-dom"
22
import { AuthProvider } from "./utils/auth"
33
import OAuthPage from "./pages/OAuthPage"
44
import MainPage from "./pages/MainPage"
55

66
function App() {
77
return (
88
<>
9-
<BrowserRouter>
9+
<HashRouter>
1010
<AuthProvider>
1111
<Routes>
1212
<Route
@@ -19,7 +19,7 @@ function App() {
1919
/>
2020
</Routes>
2121
</AuthProvider>
22-
</BrowserRouter>
22+
</HashRouter>
2323
</>
2424
)
2525
}

0 commit comments

Comments
 (0)