mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
fix build
This commit is contained in:
parent
e1eea3de89
commit
8e77a95878
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@ export function SelectBox({ options, selectedItem, setSelectedItem }) {
|
||||||
return () => {
|
return () => {
|
||||||
document.removeEventListener("mousedown", handleClick);
|
document.removeEventListener("mousedown", handleClick);
|
||||||
};
|
};
|
||||||
}, [handleClick]);
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
|
}, []);
|
||||||
|
|
||||||
const onOptionClick = (e, option, i) => {
|
const onOptionClick = (e, option, i) => {
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
|
|
Loading…
Reference in a new issue