diff --git a/ui/component/app/view.jsx b/ui/component/app/view.jsx index 39f3ff860..c98aae335 100644 --- a/ui/component/app/view.jsx +++ b/ui/component/app/view.jsx @@ -170,7 +170,7 @@ function App(props: Props) { }; window.addEventListener('keydown', handleKeyPress); return () => window.removeEventListener('keydown', handleKeyPress); - }); + }, []); useEffect(() => { if (referredRewardAvailable && sanitizedReferrerParam && isRewardApproved) {