From 94f45c29018b33323818ad0e3f0c733d0f69c12c Mon Sep 17 00:00:00 2001 From: Thomas Quandalle Date: Wed, 8 Jun 2022 16:58:47 +0200 Subject: [PATCH] getting rid of some more errors ;) --- ui/src/index.jsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ui/src/index.jsx b/ui/src/index.jsx index f4652d0..8ae33b9 100644 --- a/ui/src/index.jsx +++ b/ui/src/index.jsx @@ -17,6 +17,7 @@ import Dashboard from './pages/Dashboard/Dashboard'; import RequireInstall from './containers/RequireInstall'; import RequireAuth from './containers/RequireAuth'; import RequireGuest from './containers/RequireGuest'; +import * as serviceWorker from './serviceWorker'; const history = createBrowserHistory(); @@ -69,3 +70,8 @@ ReactDOM.render( , document.getElementById('root') ); + +// If you want your app to work offline and load faster, you can change +// unregister() to register() below. Note this comes with some pitfalls. +// Learn more about service workers: https://bit.ly/CRA-PWA +serviceWorker.unregister();