aboutsummaryrefslogtreecommitdiff
path: root/modern/src/index.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-04-17 15:38:40 -0700
committerAnton Tananaev <anton@traccar.org>2022-04-17 15:38:40 -0700
commitad8484a08ef7eabb41afb33a9774ba8502da1d53 (patch)
tree957204d055150ee29251b24b28a9ed1d0afe88d0 /modern/src/index.js
parent914f3dae0e34304eebbfaae2b7740e53206ce527 (diff)
downloadtrackermap-web-ad8484a08ef7eabb41afb33a9774ba8502da1d53.tar.gz
trackermap-web-ad8484a08ef7eabb41afb33a9774ba8502da1d53.tar.bz2
trackermap-web-ad8484a08ef7eabb41afb33a9774ba8502da1d53.zip
Handle query parameters
Diffstat (limited to 'modern/src/index.js')
-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 155bf623..28f0bbf1 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 { HashRouter } from 'react-router-dom';
+import { BrowserRouter } 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}>
- <HashRouter>
+ <BrowserRouter>
<App />
- </HashRouter>
+ </BrowserRouter>
</Provider>
), document.getElementById('root'));