mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-25 07:51:51 +01:00
fix build
This commit is contained in:
parent
e1eea3de89
commit
8e77a95878
@ -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 New Issue
Block a user