We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea0d4b9 commit 57c2c2dCopy full SHA for 57c2c2d
frontend/src/tanstack.ts
@@ -1,19 +1,17 @@
1
import { QueryClient } from '@tanstack/react-query';
2
-import { createMemoryHistory, createRouter } from '@tanstack/react-router';
+import { createHashHistory, createRouter } from '@tanstack/react-router';
3
4
import { routeTree } from './routeTree.gen';
5
6
// Create a new router instance
7
8
const queryClient = new QueryClient();
9
10
-const memoryHistory = createMemoryHistory({
11
- initialEntries: ['/proposal-manager/'],
12
-});
+const hashHistory = createHashHistory();
13
14
const router = createRouter({
15
routeTree,
16
- history: memoryHistory,
+ history: hashHistory,
17
context: {
18
queryClient,
19
},
0 commit comments