diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-05-30 17:27:04 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-05-30 17:27:04 +0200 |
| commit | 0890fdd951d021308550a0db2e7b6f2593512957 (patch) | |
| tree | a0050b153242ccde662fc0a957a79fc7a7edc4b4 /frontend/index.js | |
initial site copied in
Diffstat (limited to 'frontend/index.js')
| -rw-r--r-- | frontend/index.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/frontend/index.js b/frontend/index.js new file mode 100644 index 0000000..39bcf86 --- /dev/null +++ b/frontend/index.js @@ -0,0 +1,17 @@ +import React from 'react' +import ReactDOM from 'react-dom' +import { Provider } from 'react-redux' + +import App from './app' + +import * as socket from './socket' +import { store, history } from './store' + +const container = document.createElement('div') +document.body.appendChild(container) + +ReactDOM.render( + <Provider store={store}> + <App history={history} /> + </Provider>, container +) |
