Ignore react-hook warning

This commit is contained in:
rzmk 2021-12-24 20:41:06 -05:00
parent 519b54f2b4
commit be98448156

View file

@ -5,6 +5,7 @@ function Coordinates({ latitude, longitude }) {
useEffect(() => {
if (window.screen.width < 480) setSmallScreen(true);
else setSmallScreen(false);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [window.screen.width]);
return (