We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a71e19 commit 75af34fCopy full SHA for 75af34f
package.json
@@ -66,7 +66,7 @@
66
},
67
"dependencies": {
68
"@babel/runtime": "^7.12.5",
69
- "@planjs/utils": "^1.11.3",
+ "@planjs/utils": "^1.11.5",
70
"fast-deep-equal": "^3.1.3",
71
"resize-observer-polyfill": "^1.5.1"
72
src/hooks/useInterval.ts
@@ -50,6 +50,7 @@ function useInterval(
50
if (isRunning) {
51
setIsRunning(false);
52
}
53
+ internalIdRef.current && clearPrefSetInterval(internalIdRef.current);
54
55
56
// Remember the latest callback.
0 commit comments