diff --git a/src/Components/Common/UserAutocompleteFormField.tsx b/src/Components/Common/UserAutocompleteFormField.tsx index a42fea1890c..859007b172d 100644 --- a/src/Components/Common/UserAutocompleteFormField.tsx +++ b/src/Components/Common/UserAutocompleteFormField.tsx @@ -59,10 +59,11 @@ export default function UserAutocomplete(props: UserSearchProps) { } if (data.results.length === 0) { + console.log({ query }); setDisabled(true); field.handleChange(undefined as unknown as UserBareMinimum); } - }, [loading, query, field.required, data?.results, props.noResultsError]); + }, [loading, field.required, data?.results, props.noResultsError]); return (