fix(ControlledAutocomplete): use option value as option key

This commit is contained in:
Ali BARIN
2022-12-04 21:16:16 +01:00
parent bd2f2cbf64
commit e451dd2262
2 changed files with 6 additions and 1 deletions

View File

@@ -116,7 +116,7 @@ export default function Editor(props: EditorProps): React.ReactElement {
gap={1}
>
{flow?.steps?.map((step, index, steps) => (
<React.Fragment key={`${step}-${index}`}>
<React.Fragment key={`${step.id}-${index}`}>
<FlowStep
key={step.id}
step={step}