From 9683f30bfa3a45b1844c0f9d2a2633a46e34c0a8 Mon Sep 17 00:00:00 2001 From: MahtabBukhari Date: Sat, 14 Dec 2024 11:17:37 +0500 Subject: [PATCH] fix(add-item): incorrect rendering of properties --- src/components/AddItemModal/SourceTypeStep/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/AddItemModal/SourceTypeStep/index.tsx b/src/components/AddItemModal/SourceTypeStep/index.tsx index 05900a650..176d055f2 100644 --- a/src/components/AddItemModal/SourceTypeStep/index.tsx +++ b/src/components/AddItemModal/SourceTypeStep/index.tsx @@ -30,7 +30,6 @@ export const SourceTypeStep: FC = ({ skipToStep, allowNextStep, onSelectT .map((schema) => ({ label: capitalizeString(schema.type), value: schema.type, - action: () => skipToStep('setAttribues'), })) setOption(schemaOptions) @@ -49,6 +48,7 @@ export const SourceTypeStep: FC = ({ skipToStep, allowNextStep, onSelectT const onSelect = (val: TAutocompleteOption | null) => { onSelectType(val?.label || '') + skipToStep('setAttribues') } return (