degmods.com/src/main.tsx
daniyal 44acba8d26
All checks were successful
Release to Staging / build_and_release (push) Successful in 43s
feat: fetch mods using ndk
2024-10-14 13:25:49 +05:00

24 lines
693 B
TypeScript

import React from 'react'
import ReactDOM from 'react-dom/client'
import { Provider } from 'react-redux'
import { HashRouter } from 'react-router-dom'
import { ToastContainer } from 'react-toastify'
import 'react-toastify/dist/ReactToastify.css'
import App from './App.tsx'
import './index.css'
import { store } from './store/index.ts'
import { NDKContextProvider } from 'contexts/NDKContext.tsx'
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
<Provider store={store}>
<HashRouter>
<NDKContextProvider>
<App />
</NDKContextProvider>
<ToastContainer />
</HashRouter>
</Provider>
</React.StrictMode>
)