chore: fix eslint error

This commit is contained in:
Aman Harwara
2023-05-16 16:33:11 +05:30
parent 3b23312b62
commit 38e8a81f0b

View File

@@ -90,7 +90,7 @@ const Dropdown = ({
updatePosition={(props) => {
const { updatePosition } = props
const { popoverElement } = select.getState()
updatePosition()
updatePosition().catch(console.error)
if (popoverElement) {
popoverElement.style.zIndex = 'var(--z-index-dropdown-menu)'
}