This commit is contained in:
Daniel Shleifman
2021-05-31 15:21:56 +03:00
parent 695a7c53b6
commit aab85cc366
13 changed files with 191 additions and 260 deletions

View File

@@ -28,9 +28,7 @@ export const useUpdateCache = hash => {
}, 100)
} else clearInterval(timerID.current)
return () => {
clearInterval(timerID.current)
}
return () => clearInterval(timerID.current)
}, [hash])
return cache