Issue #6: La pipeline obliga a no user un array vacio en useEffect

This commit is contained in:
Daniel Cortes
2020-06-19 11:59:14 -04:00
parent 291ec0aa53
commit 0714a9ea2a

View File

@@ -9,7 +9,7 @@ export const ScrollToTop = ({ history }) => {
return () => {
unlisten();
}
}, []);
}, [history]);
return (null);
}