degmods.com/src/main.tsx

24 lines
693 B
TypeScript
Raw Normal View History

import React from 'react'
import ReactDOM from 'react-dom/client'
2024-07-15 19:31:22 +00:00
import { Provider } from 'react-redux'
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'
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'
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
2024-07-15 19:31:22 +00:00
<Provider store={store}>
<HashRouter>
2024-10-14 08:24:43 +00:00
<NDKContextProvider>
<App />
</NDKContextProvider>
2024-07-21 16:30:03 +00:00
<ToastContainer />
</HashRouter>
2024-07-15 19:31:22 +00:00
</Provider>
2024-07-11 11:45:59 +00:00
</React.StrictMode>
)