From 2f0bc863ca2aba3ec8513aa17024267a5f1ef80b Mon Sep 17 00:00:00 2001 From: Jeremy Kahn Date: Mon, 8 Aug 2022 21:51:55 -0500 Subject: [PATCH] fix: register service worker --- src/index.tsx | 3 +++ 1 file changed, 3 insertions(+) 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()