mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 00:01:34 +11:00
specify dependency array
This commit is contained in:
parent
48373faa17
commit
34c66cc61e
|
@ -88,7 +88,7 @@ function App() {
|
|||
return () => {
|
||||
window.removeEventListener("message", buttonPress);
|
||||
};
|
||||
});
|
||||
}, []);
|
||||
|
||||
useAvoidItchIoScrolling();
|
||||
|
||||
|
|
Loading…
Reference in a new issue