You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
420 B
TypeScript
17 lines
420 B
TypeScript
import React from 'react'
|
|
import { createRoot } from 'react-dom/client'
|
|
import { Provider } from 'react-redux'
|
|
import { store } from 'shared/store/app/configureStore'
|
|
|
|
import { Root } from './App'
|
|
|
|
const container = document.getElementById(`root`)
|
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
const root = createRoot(container!)
|
|
|
|
root.render(
|
|
<Provider store={store}>
|
|
<Root />
|
|
</Provider>,
|
|
)
|