File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1616
1717import React from 'react' ;
1818import { QueryClient , QueryClientProvider } from 'react-query' ;
19- import { BrowserRouter , RouteObject , useRoutes } from 'react-router-dom' ;
19+ import { BrowserRouter , RouteObject , useRoutes , Route } from 'react-router-dom' ;
2020import { QueryParamProvider } from 'use-query-params' ;
2121import { ActivityRoutes } from '../pages/Activity/Routes' ;
2222import { BlockchainRoutes } from '../pages/Blockchain/Routes' ;
@@ -39,11 +39,11 @@ const queryClient = new QueryClient({
3939export const Router : ( ) => JSX . Element = ( ) => {
4040 return (
4141 < QueryClientProvider client = { queryClient } >
42- < QueryParamProvider >
43- < BrowserRouter basename = { NAV_BASENAME } >
42+ < BrowserRouter basename = { NAV_BASENAME } >
43+ < QueryParamProvider ReactRouterRoute = { Route } >
4444 < Routes />
45- </ BrowserRouter >
46- </ QueryParamProvider >
45+ </ QueryParamProvider >
46+ </ BrowserRouter >
4747 </ QueryClientProvider >
4848 ) ;
4949} ;
You can’t perform that action at this time.
0 commit comments