diff options
Diffstat (limited to 'modern/src/index.js')
-rw-r--r-- | modern/src/index.js | 4 |
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(); |