chore: fix type annotations (#6600)

This commit is contained in:
非法操作 2024-07-25 11:21:51 +08:00 • committed by GitHub
commit 585444c50c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 27 additions and 21 deletions

View file

@ -191,7 +191,7 @@ const SimpleSelect: FC<ISelectProps> = ({
onClick={(e) => {
e.stopPropagation()
setSelectedItem(null)
onSelect({ value: null })
onSelect({ name: '', value: '' })
}}
className="h-5 w-5 text-gray-400 cursor-pointer"
aria-hidden="false"