degmods.com/src/main.tsx

18 lines
458 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'
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 />
</BrowserRouter>
</Provider>
2024-07-11 11:45:59 +00:00
</React.StrictMode>
)