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:
parent
1dd0f68eb7
commit
ac81380557
1 changed files with 0 additions and 4 deletions
|
@ -46,10 +46,6 @@ const FlowHeroUnconnected: FC<IProps> = ({ heroes, history }) => {
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
timer.current = setTimeout(onNext, 5000);
|
timer.current = setTimeout(onNext, 5000);
|
||||||
|
|
||||||
return () => {
|
|
||||||
clearTimeout(timer.current);
|
|
||||||
};
|
|
||||||
}, [current, onNext]);
|
}, [current, onNext]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue