degmods.com/src/main.tsx

21 lines
571 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'
ReactDOM.createRoot(document.getElementById('root')!).render(
<React.StrictMode>
2024-07-15 19:31:22 +00:00
<Provider store={store}>
<HashRouter>
2024-07-15 19:31:22 +00:00
<App />
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>
)