From 1c6dff7501089de08c249d21e40d84e43edf982d Mon Sep 17 00:00:00 2001 From: blam Date: Mon, 13 Sep 2021 10:15:35 +0200 Subject: [PATCH] chore: reworking the types a little bit here to get them to work with the new version Signed-off-by: blam --- .../StepPrepareCreatePullRequest/AutocompleteTextField.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx b/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx index a2da75edd4..63115b69b0 100644 --- a/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx +++ b/plugins/catalog-import/src/components/StepPrepareCreatePullRequest/AutocompleteTextField.tsx @@ -25,7 +25,7 @@ type Props = { options: string[]; required?: boolean; - errors?: FieldErrors>; + errors?: FieldErrors; rules?: React.ComponentProps['rules']; loading?: boolean; @@ -37,7 +37,7 @@ type Props = { textFieldProps?: Omit; }; -export const AutocompleteTextField = ({ +export const AutocompleteTextField = ({ name, options, required,