Skip to content

Commit

Permalink
Change BrowserRouter to HashRouter for gh-pages using
Browse files Browse the repository at this point in the history
  • Loading branch information
SunDr17 committed Jan 23, 2024
1 parent 8059ad7 commit 95391b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import { BrowserRouter } from 'react-router-dom';
import { HashRouter } from 'react-router-dom';
import { Provider } from 'react-redux';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { WagmiProvider } from 'wagmi';
Expand All @@ -20,13 +20,13 @@ const root = ReactDOM.createRoot(
root.render(
<React.StrictMode>
<Provider store={store}>
<BrowserRouter>
<HashRouter>
<WagmiProvider config={wagmiConfig}>
<QueryClientProvider client={queryClient}>
<App />
</QueryClientProvider>
</WagmiProvider>
</BrowserRouter>
</HashRouter>
</Provider>
</React.StrictMode>
);

0 comments on commit 95391b3

Please sign in to comment.