Fixed Icon Picker Closing Bug (#1553)

Signed-off-by: Adithya Krishna <aadithya794@gmail.com>
This commit is contained in:
Adithya Krishna 2021-10-14 16:53:06 +05:30 committed by GitHub
parent 341febe84a
commit dfbf9bc72a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,6 @@ function SubMenuOption(props: SubMenuOptionProps): JSX.Element {
setIsOpen(true)
}, 50)
}}
onMouseLeave={() => setIsOpen(false)}
onClick={(e: React.MouseEvent) => {
e.preventDefault()
e.stopPropagation()