Skip to content

Commit

Permalink
Account for undefined style atribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Davies authored and ramonjd committed Jan 4, 2022
1 parent cbc9d20 commit d7f47ca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/block-library/src/navigation/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,7 @@ function Navigation( {
orientation = 'horizontal',
flexWrap = 'wrap',
} = {},
style: {
spacing: { blockGap },
},
style: { spacing: { blockGap } = {} } = {},
} = attributes;

let areaMenu,
Expand Down

0 comments on commit d7f47ca

Please sign in to comment.