aboutsummaryrefslogtreecommitdiff
path: root/modern/src/index.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-03-29 14:49:19 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-03-29 14:49:19 -0700
commit800da2aef77cd0e64d39b419929f7ac97db47f21 (patch)
tree84796e79c87ca090e7810452b7aac9720b668faa /modern/src/index.js
parent57bb1609881c3117852038e6380f61ee66c68690 (diff)
downloadtrackermap-web-800da2aef77cd0e64d39b419929f7ac97db47f21.tar.gz
trackermap-web-800da2aef77cd0e64d39b419929f7ac97db47f21.tar.bz2
trackermap-web-800da2aef77cd0e64d39b419929f7ac97db47f21.zip
Updated service worker
Diffstat (limited to 'modern/src/index.js')
-rw-r--r--modern/src/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/index.js b/modern/src/index.js
index f501a083..3c52b230 100644
--- a/modern/src/index.js
+++ b/modern/src/index.js
@@ -5,7 +5,7 @@ import { BrowserRouter } from 'react-router-dom'
import { Provider } from 'react-redux';
import App from './App';
-import registerServiceWorker from './registerServiceWorker';
+import * as serviceWorker from './serviceWorker';
import store from './store';
ReactDOM.render((
@@ -16,4 +16,4 @@ ReactDOM.render((
</Provider>
), document.getElementById('root'));
-registerServiceWorker();
+serviceWorker.register();