fix build

This commit is contained in:
James Hawkins 2021-10-26 13:29:04 +01:00
parent e1eea3de89
commit 8e77a95878

View File

@ -44,7 +44,8 @@ export function SelectBox({ options, selectedItem, setSelectedItem }) {
return () => {
document.removeEventListener("mousedown", handleClick);
};
}, [handleClick]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
const onOptionClick = (e, option, i) => {
e.stopPropagation()