Fix 'yarn lint' issue

Close #2238
This commit is contained in:
David Rieman
2022-02-18 17:52:48 -08:00
committed by Nicolas Gallagher
parent ea87af27b2
commit c0e3409ace
+1 -1
View File
@@ -55,7 +55,7 @@ export default function useEvent(
});
targetListeners.clear();
};
}, []);
}, [targetListeners]);
return addListener;
}