degmods.com/src/main.tsx

21 lines
580 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'
2024-07-11 11:45:59 +00:00
import { BrowserRouter } 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'
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
2024-07-15 19:31:22 +00:00
<Provider store={store}>
<BrowserRouter>
<App />
2024-07-21 16:30:03 +00:00
<ToastContainer />
2024-07-15 19:31:22 +00:00
</BrowserRouter>
</Provider>
2024-07-11 11:45:59 +00:00
</React.StrictMode>
)