summaryrefslogtreecommitdiff
path: root/scraper/client/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-02-13 13:58:11 +0100
committerJules Laplace <julescarbon@gmail.com>2019-02-13 13:58:11 +0100
commit392ea8d0ba2fdc713ae156517b0575e8219b9f1c (patch)
treebb29c19f9f0a2d970c39c813130361405fccbe4e /scraper/client/index.js
parentdc7d9cbba842472efb33186e97ee55751e4d50ca (diff)
adding geocode client
Diffstat (limited to 'scraper/client/index.js')
-rw-r--r--scraper/client/index.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/scraper/client/index.js b/scraper/client/index.js
new file mode 100644
index 00000000..eddc5fb2
--- /dev/null
+++ b/scraper/client/index.js
@@ -0,0 +1,19 @@
+import React from 'react'
+import ReactDOM from 'react-dom'
+import { AppContainer } from 'react-hot-loader'
+import { Provider } from 'react-redux'
+
+import App from './app'
+
+import { store, history } from './store'
+
+const container = document.createElement('div')
+document.body.appendChild(container)
+
+ReactDOM.render(
+ <AppContainer>
+ <Provider store={store}>
+ <App history={history} />
+ </Provider>
+ </AppContainer>, container
+)