fix: type error in list-operator (#22803)
This commit is contained in:
@@ -18,7 +18,6 @@ const OptionListItem: FC<OptionListItemProps> = ({
|
||||
useEffect(() => {
|
||||
if (isSelected && !noAutoScroll)
|
||||
listItemRef.current?.scrollIntoView({ behavior: 'instant' })
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [])
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user