refactor: remove hashRouter import

This commit is contained in:
nostrdev-com 2024-10-15 15:44:05 +02:00
parent 2c49dd0c32
commit e610148e01

View File

@ -12,11 +12,7 @@ import { NDKContextProvider } from 'contexts/NDKContext.tsx'
ReactDOM.createRoot(document.getElementById('root')!).render( ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode> <React.StrictMode>
<Provider store={store}> <Provider store={store}>
<HashRouter <HashRouter>
{...(import.meta.env.BASE_URL
? { basename: import.meta.env.BASE_URL }
: {})}
>
<NDKContextProvider> <NDKContextProvider>
<App /> <App />
</NDKContextProvider> </NDKContextProvider>