aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-06-21 22:49:42 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-06-21 22:49:42 -0700
commit58f79c306a80c5aad32d642b84098a239d95acb4 (patch)
tree5ff249bc8ce5a60fda01a4ef77774bfcb5545896 /modern/src
parent14a858324d507c2780cf8b4d4219e01cb74a13e2 (diff)
downloadtrackermap-web-58f79c306a80c5aad32d642b84098a239d95acb4.tar.gz
trackermap-web-58f79c306a80c5aad32d642b84098a239d95acb4.tar.bz2
trackermap-web-58f79c306a80c5aad32d642b84098a239d95acb4.zip
Support static website
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/index.js b/modern/src/index.js
index 3c52b230..82ddef95 100644
--- a/modern/src/index.js
+++ b/modern/src/index.js
@@ -1,7 +1,7 @@
import 'typeface-roboto'
import React from 'react';
import ReactDOM from 'react-dom';
-import { BrowserRouter } from 'react-router-dom'
+import { HashRouter } from 'react-router-dom'
import { Provider } from 'react-redux';
import App from './App';
@@ -10,9 +10,9 @@ import store from './store';
ReactDOM.render((
<Provider store={store}>
- <BrowserRouter>
+ <HashRouter>
<App />
- </BrowserRouter>
+ </HashRouter>
</Provider>
), document.getElementById('root'));