forked from Shiloh/remnantchat
fix: register service worker
This commit is contained in:
parent
3d1105962c
commit
2f0bc863ca
@ -1,6 +1,7 @@
|
|||||||
import React from 'react'
|
import React from 'react'
|
||||||
import ReactDOM from 'react-dom/client'
|
import ReactDOM from 'react-dom/client'
|
||||||
|
|
||||||
|
import * as serviceWorkerRegistration from './serviceWorkerRegistration'
|
||||||
import './index.sass'
|
import './index.sass'
|
||||||
import App from './App'
|
import App from './App'
|
||||||
import reportWebVitals from './reportWebVitals'
|
import reportWebVitals from './reportWebVitals'
|
||||||
@ -16,3 +17,5 @@ root.render(
|
|||||||
// to log results (for example: reportWebVitals(console.log))
|
// to log results (for example: reportWebVitals(console.log))
|
||||||
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
||||||
reportWebVitals()
|
reportWebVitals()
|
||||||
|
|
||||||
|
serviceWorkerRegistration.register()
|
||||||
|
Loading…
Reference in New Issue
Block a user