fix: components optional chaining

This commit is contained in:
bigmistqke
2022-11-14 15:52:43 +01:00
parent ef5cc2ab0f
commit d5e725c608

View File

@@ -49,7 +49,7 @@ const ArrayFieldType: React.FC<Props> = (props) => {
},
} = props;
const RowHeaderFromProps = components.RowHeader || undefined;
const RowHeaderFromProps = components?.RowHeader || undefined;
const path = pathFromProps || name;