Add React hooks eslint

This commit is contained in:
Gregory Schier
2023-04-01 15:26:57 -07:00
parent 604254257d
commit b23e56c3af
23 changed files with 151 additions and 98 deletions

View File

@@ -36,7 +36,7 @@ const _IconButton = forwardRef<HTMLButtonElement, Props>(function IconButton(
if (showConfirm) setConfirmed();
onClick?.(e);
},
[onClick],
[onClick, setConfirmed, showConfirm],
);
return (
<Button