mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
Added react-hooks lint rules
(cherry picked from commit 381d64259396582de8d63ada99333e42cf5e3189)
This commit is contained in:
parent
c02b66ec44
commit
b445d0717d
4 changed files with 11 additions and 7 deletions
|
@ -33,7 +33,7 @@ function ConfirmModal(props) {
|
|||
|
||||
return () => unbindShortcut('enter', onConfirm);
|
||||
}
|
||||
}, [isOpen, onConfirm]);
|
||||
}, [bindShortcut, unbindShortcut, isOpen, onConfirm]);
|
||||
|
||||
return (
|
||||
<Modal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue