Skip to content

Commit 39e5d5e

Browse files
committed
Change to HashRouter instead of BrowserRouter
1 parent 23df720 commit 39e5d5e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

client/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useState } from "react";
2-
import { BrowserRouter, Routes, Route, useLocation } from "react-router";
2+
import { HashRouter, Routes, Route, useLocation } from "react-router";
33
import { AnimatePresence } from "motion/react";
44

55
import { Home } from "@/pages/home";
@@ -58,8 +58,8 @@ function AppContent() {
5858

5959
export default function App() {
6060
return (
61-
<BrowserRouter>
61+
<HashRouter>
6262
<AppContent />
63-
</BrowserRouter>
63+
</HashRouter>
6464
);
6565
}

0 commit comments

Comments
 (0)