specify dependency array

This commit is contained in:
Corwin 2024-04-05 19:50:12 +01:00
parent 48373faa17
commit 34c66cc61e
No known key found for this signature in database

View file

@ -88,7 +88,7 @@ function App() {
return () => { return () => {
window.removeEventListener("message", buttonPress); window.removeEventListener("message", buttonPress);
}; };
}); }, []);
useAvoidItchIoScrolling(); useAvoidItchIoScrolling();