Added react-hooks lint rules

(cherry picked from commit 381d64259396582de8d63ada99333e42cf5e3189)
This commit is contained in:
Mark McDowall 2022-11-04 14:16:11 -07:00 committed by Qstick
parent c02b66ec44
commit b445d0717d
4 changed files with 11 additions and 7 deletions

View file

@ -19,7 +19,7 @@ function PendingChangesModal(props) {
useEffect(() => {
bindShortcut('enter', onConfirm);
}, [onConfirm]);
}, [bindShortcut, onConfirm]);
return (
<Modal