1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

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()