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 171b61b commit 1982518Copy full SHA for 1982518
src/useEffect-example/index.js
@@ -14,7 +14,7 @@ function App() {
14
15
return () => clearInterval(interval);
16
},
17
- [isOn],
+ [isOn, timer],
18
);
19
20
const onReset = () => {
0 commit comments