Skip to content

Commit 4ab8a4a

Browse files
committed
removed the timeout
1 parent 37aac25 commit 4ab8a4a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/App.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,7 @@ export default function App() {
190190
function update() {
191191
updateServiceWorker(true)
192192
// Trigger page reload
193-
setTimeout(() => {
194-
window.location.reload()
195-
}, 300)
193+
window.location.reload()
196194
}
197195

198196
useEffect(() => {

0 commit comments

Comments
 (0)