File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11import { ClientApiProvider } from '@comapeo/core-react'
22import { CssBaseline , ThemeProvider } from '@mui/material'
33import { QueryClient , QueryClientProvider } from '@tanstack/react-query'
4- import { RouterProvider , createRouter } from '@tanstack/react-router'
4+ import {
5+ RouterProvider ,
6+ createHashHistory ,
7+ createRouter ,
8+ } from '@tanstack/react-router'
59
610import { theme } from './Theme'
711import { initComapeoClient } from './comapeo-client'
@@ -14,7 +18,9 @@ import { routeTree } from './routeTree.gen'
1418
1519const queryClient = new QueryClient ( )
1620const clientApi = initComapeoClient ( )
17- const router = createRouter ( { routeTree } )
21+
22+ const hashHistory = createHashHistory ( )
23+ const router = createRouter ( { routeTree, history : hashHistory } )
1824
1925declare module '@tanstack/react-router' {
2026 interface Register {
You can’t perform that action at this time.
0 commit comments