We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bad2dca commit 9cb1c14Copy full SHA for 9cb1c14
lib/ui/select.js
@@ -31,13 +31,11 @@ const Select = ({
31
items,
32
variable
33
}) => {
34
- const [hover, setHover] = useState(false);
35
let id = 0;
36
37
return (
38
<>
39
- <button onMouseEnter={setHover(true)} onMouseLeave={setHover(false)} title={placeholder} type='button'><img src={items[id][1]} alt={items[id][0]} />{items[id][0]}</button>
40
- {hover? <div></div> : <></>}
+ <button title={placeholder} type='button'><img src={items[id][1]} alt={items[id][0]} />{items[id][0]}</button>
41
</>
42
)
43
}
0 commit comments