Skip to content

Commit d76b4d6

Browse files
authored
Switched to Hash Router (#29)
1 parent e77218a commit d76b4d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/src/Router.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { RouterProvider, createBrowserRouter } from "react-router-dom";
1+
import { RouterProvider, createHashRouter } from "react-router-dom";
22
import { ErrorPage, IndexPage, NotFoundPage, Root } from "./pages";
33

4-
const router = createBrowserRouter(
4+
const router = createHashRouter(
55
[
66
{
77
path: "/",

0 commit comments

Comments
 (0)