Skip to content

Commit

Permalink
set return type
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jun 27, 2024
1 parent 64ab4b7 commit 4a01131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/AutocompleteField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const AutocompleteField = <
DisableClearable,
FreeSolo,
ChipComponent
>) => {
>): JSX.Element => {
const { name, required, ...otherTextFieldProps } = textFieldProps

let schema = yup.string().oneOf(options, "not a valid option")
Expand Down

0 comments on commit 4a01131

Please sign in to comment.