diff --git a/src/index.tsx b/src/index.tsx index f1f8ba0..a448c50 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,6 +1,7 @@ import React from 'react' import ReactDOM from 'react-dom/client' +import * as serviceWorkerRegistration from './serviceWorkerRegistration' import './index.sass' import App from './App' import reportWebVitals from './reportWebVitals' @@ -16,3 +17,5 @@ root.render( // to log results (for example: reportWebVitals(console.log)) // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals reportWebVitals() + +serviceWorkerRegistration.register()