Commit 5c821d48 authored by chechunchi's avatar chechunchi

fix

parent e079ee7e
Pipeline #22553 passed with stages
in 14 minutes and 39 seconds
...@@ -17,7 +17,7 @@ export const Timer: React.FC = () => { ...@@ -17,7 +17,7 @@ export const Timer: React.FC = () => {
} }
}, 1000); }, 1000);
return () => clearInterval(interval); return () => clearInterval(interval);
}, []); }, [time]);
useEffect(() => { useEffect(() => {
setTime(snap.timeLimits.me); setTime(snap.timeLimits.me);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment