aboutsummaryrefslogtreecommitdiff
path: root/modern/src/index.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-09-04 16:44:14 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-09-04 16:44:14 +1200
commitc821e4722da493c5408bcb505599239d687453c6 (patch)
tree68a3723e083b382fde30f86dea2d6c374623fb23 /modern/src/index.js
parent6f6cf5427bd78b6de9ea1331952e086ecb277d10 (diff)
downloadtrackermap-web-c821e4722da493c5408bcb505599239d687453c6.tar.gz
trackermap-web-c821e4722da493c5408bcb505599239d687453c6.tar.bz2
trackermap-web-c821e4722da493c5408bcb505599239d687453c6.zip
Implement login logic
Diffstat (limited to 'modern/src/index.js')
-rw-r--r--modern/src/index.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/modern/src/index.js b/modern/src/index.js
index 917d6518..016a4af1 100644
--- a/modern/src/index.js
+++ b/modern/src/index.js
@@ -1,7 +1,13 @@
import React from 'react';
import ReactDOM from 'react-dom';
+import { BrowserRouter } from 'react-router-dom'
import App from './App';
import registerServiceWorker from './registerServiceWorker';
-ReactDOM.render(<App />, document.getElementById('root'));
+ReactDOM.render((
+ <BrowserRouter>
+ <App />
+ </BrowserRouter>
+), document.getElementById('root'));
+
registerServiceWorker();