fix: type error in list-operator (#22803)

This commit is contained in:
呆萌闷油瓶 2025-07-24 12:21:20 +08:00 • committed by GitHub
commit 371fe7a700
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 3 additions and 8 deletions

View file

@ -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 (

View file

@ -52,7 +52,6 @@ const TimePicker = ({
else {
setSelectedTime(prev => prev ? getDateWithTimezone({ date: prev, timezone }) : undefined)
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [timezone])
const handleClickTrigger = (e: React.MouseEvent) => {