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(
<React.StrictMode>
<Provider store={store}>
<HashRouter
{...(import.meta.env.BASE_URL
? { basename: import.meta.env.BASE_URL }
: {})}
>
<HashRouter>
<NDKContextProvider>
<App />
</NDKContextProvider>