feat(client/skillcheck): winning/losing promise resolving

This commit is contained in:
Luke authored and Luke committed 2022-10-18 20:03:00 +02:00
1 parent 66c16b5843
commit e4b3e0186d
2 files changed
+19 -1

No files matched your search

@@ -17,7 +17,6 @@ const Indicator: React.FC<Props> = ({ angle, offset, multiplier, setSkillCheck }
const isKeyPressed = useKeyPress('e');
useEffect(() => {
console.log(1);
intervalRef.current = setInterval(() => {
setIndicatorAngle((prevState) => (prevState += multiplier));
}, 1);