chore: fix eslint error
This commit is contained in:
@@ -90,7 +90,7 @@ const Dropdown = ({
|
|||||||
updatePosition={(props) => {
|
updatePosition={(props) => {
|
||||||
const { updatePosition } = props
|
const { updatePosition } = props
|
||||||
const { popoverElement } = select.getState()
|
const { popoverElement } = select.getState()
|
||||||
updatePosition()
|
updatePosition().catch(console.error)
|
||||||
if (popoverElement) {
|
if (popoverElement) {
|
||||||
popoverElement.style.zIndex = 'var(--z-index-dropdown-menu)'
|
popoverElement.style.zIndex = 'var(--z-index-dropdown-menu)'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user