Skip to content

Commit 8982336

Browse files
committed
fix: type error
1 parent 355b774 commit 8982336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/form/TextField.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ const TextField: FC<TextFieldProps> = ({
7777
return (
7878
new Set(
7979
uniqueCaseInsensitive
80-
? values.map(value => value.toLowerCase())
80+
? values.map(value => (value as string).toLowerCase())
8181
: values,
8282
).size === values.length
8383
)

0 commit comments

Comments
 (0)