File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import {
26
26
import { URLS } from './config'
27
27
import Hotjar from './components/Hotjar/Hotjar'
28
28
import { validateToken } from './services/service'
29
- import { cleanupOutdatedCaches } from 'workbox-precaching'
30
29
31
30
const NavigationRoutes = lazy ( ( ) => import ( './components/common/navigation/NavigationRoutes' ) )
32
31
const Login = lazy ( ( ) => import ( './components/login/Login' ) )
@@ -136,7 +135,6 @@ export default function App() {
136
135
if ( refreshing . current ) {
137
136
return
138
137
}
139
- cleanupOutdatedCaches ( )
140
138
if ( document . visibilityState === 'visible' ) {
141
139
window . location . reload ( )
142
140
refreshing . current = true
@@ -194,7 +192,7 @@ export default function App() {
194
192
// Trigger page reload
195
193
setTimeout ( ( ) => {
196
194
window . location . reload ( )
197
- } , 500 )
195
+ } , 300 )
198
196
}
199
197
200
198
useEffect ( ( ) => {
You can’t perform that action at this time.
0 commit comments