Skip to content

Commit 5db321a

Browse files
committed
Add store provider
1 parent f8f02c0 commit 5db321a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/index.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
import React from 'react'
22
import ReactDOM from 'react-dom'
3+
import { Provider } from 'react-redux'
4+
import store from './store'
5+
36
import './index.css'
47

58
import App from './App'
69

7-
ReactDOM.render(<App />, document.getElementById('root'))
10+
ReactDOM.render(
11+
<Provider store={store}>
12+
<App />
13+
</Provider>,
14+
document.getElementById('root')
15+
)

0 commit comments

Comments
 (0)