mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
eslint: enable react-hooks checks
Also fix all errors, which can lead to subtile bugs. Mostly fixings deps and refactoring to make typescript happy.
This commit is contained in:
committed by
David Lechner
parent
ee466ac904
commit
9d71bb4734
@@ -83,7 +83,7 @@ const ActionButton: React.VoidFunctionComponent<ActionButtonProps> = ({
|
||||
},
|
||||
},
|
||||
];
|
||||
}, [keyboardShortcut, tooltip, enabled, label, onAction]);
|
||||
}, [keyboardShortcut, enabled, label, onAction]);
|
||||
|
||||
useHotkeys(hotkeys);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user