We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1183876 commit 6594d0fCopy full SHA for 6594d0f
apps/hyperdrive-trading/src/ui/app/App/App.tsx
@@ -1,6 +1,10 @@
1
import { ReactElement, StrictMode } from "react";
2
3
-import { createRouter, RouterProvider } from "@tanstack/react-router";
+import {
4
+ createHashHistory,
5
+ createRouter,
6
+ RouterProvider,
7
+} from "@tanstack/react-router";
8
9
// Import the generated route tree
10
import { routeTree } from "src/routeTree.gen";
@@ -11,6 +15,7 @@ import { useAccount, useAccountEffect } from "wagmi";
11
15
const router = createRouter({
12
16
routeTree,
13
17
basepath: import.meta.env.VITE_BASE_PATH,
18
+ history: createHashHistory(),
14
19
});
20
21
// Register the router instance for type safety
0 commit comments