Skip to content

Commit

Permalink
Merge pull request #2539 from MahtabBukhari/Incorrect-Rendering-of-pr…
Browse files Browse the repository at this point in the history
…operties

[Add Item] Incorrect Rendering of properties
  • Loading branch information
Rassl authored Dec 16, 2024
2 parents cdc979b + 9683f30 commit a732050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AddItemModal/SourceTypeStep/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export const SourceTypeStep: FC<Props> = ({ skipToStep, allowNextStep, onSelectT
.map((schema) => ({
label: capitalizeString(schema.type),
value: schema.type,
action: () => skipToStep('setAttribues'),
}))

setOption(schemaOptions)
Expand All @@ -49,6 +48,7 @@ export const SourceTypeStep: FC<Props> = ({ skipToStep, allowNextStep, onSelectT

const onSelect = (val: TAutocompleteOption | null) => {
onSelectType(val?.label || '')
skipToStep('setAttribues')
}

return (
Expand Down

0 comments on commit a732050

Please sign in to comment.