2024-07-10 15:57:37 +00:00
|
|
|
import React from 'react'
|
|
|
|
import ReactDOM from 'react-dom/client'
|
2024-07-15 19:31:22 +00:00
|
|
|
import { Provider } from 'react-redux'
|
2024-08-13 11:49:11 +00:00
|
|
|
import { HashRouter } from 'react-router-dom'
|
2024-07-21 16:30:03 +00:00
|
|
|
import { ToastContainer } from 'react-toastify'
|
|
|
|
import 'react-toastify/dist/ReactToastify.css'
|
2024-07-10 15:57:37 +00:00
|
|
|
import App from './App.tsx'
|
|
|
|
import './index.css'
|
2024-07-15 19:31:22 +00:00
|
|
|
import { store } from './store/index.ts'
|
2024-10-14 08:24:43 +00:00
|
|
|
import { NDKContextProvider } from 'contexts/NDKContext.tsx'
|
2024-07-10 15:57:37 +00:00
|
|
|
|
|
|
|
ReactDOM.createRoot(document.getElementById('root')!).render(
|
|
|
|
<React.StrictMode>
|
2024-07-15 19:31:22 +00:00
|
|
|
<Provider store={store}>
|
2024-08-13 11:49:11 +00:00
|
|
|
<HashRouter>
|
2024-10-14 08:24:43 +00:00
|
|
|
<NDKContextProvider>
|
|
|
|
<App />
|
|
|
|
</NDKContextProvider>
|
2024-07-21 16:30:03 +00:00
|
|
|
<ToastContainer />
|
2024-08-13 11:49:11 +00:00
|
|
|
</HashRouter>
|
2024-07-15 19:31:22 +00:00
|
|
|
</Provider>
|
2024-07-11 11:45:59 +00:00
|
|
|
</React.StrictMode>
|
2024-07-10 15:57:37 +00:00
|
|
|
)
|