mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-31 14:33:18 +02:00
Add React hooks eslint
This commit is contained in:
@@ -36,7 +36,7 @@ const _IconButton = forwardRef<HTMLButtonElement, Props>(function IconButton(
|
||||
if (showConfirm) setConfirmed();
|
||||
onClick?.(e);
|
||||
},
|
||||
[onClick],
|
||||
[onClick, setConfirmed, showConfirm],
|
||||
);
|
||||
return (
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user