Skip to content

Commit

Permalink
fix Separator schema
Browse files Browse the repository at this point in the history
  • Loading branch information
danalvrz committed Jun 8, 2024
1 parent e84c0ab commit 5f4eb07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const messages = defineMessages({
});

export const SeparatorStylingSchema = ({ schema, formData, intl }) => {
if (formData.styles.shortLine) {
if (formData?.styles?.shortLine) {
schema.properties.styles.schema.fieldsets[0].fields = [
'align:noprefix',
...schema.properties.styles.schema.fieldsets[0].fields,
Expand Down

0 comments on commit 5f4eb07

Please sign in to comment.