1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed timer

This commit is contained in:
Fedor Katurov 2020-04-23 15:18:19 +07:00
parent 1dd0f68eb7
commit ac81380557

View file

@ -46,10 +46,6 @@ const FlowHeroUnconnected: FC<IProps> = ({ heroes, history }) => {
useEffect(() => {
timer.current = setTimeout(onNext, 5000);
return () => {
clearTimeout(timer.current);
};
}, [current, onNext]);
useEffect(() => {