Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Nov 6, 2023
1 parent ab23635 commit 9b88482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ export const withLayoutStyles = createHigherOrderComponent(
);

function BlockWithChildLayoutStyles( { block: BlockListBlock, props } ) {
const { style: { layout = {} } = {} } = props.attributes;
const layout = props.attributes.style?.layout ?? {};
const { selfStretch, flexSize } = layout;

const id = useInstanceId( BlockListBlock );
Expand Down

0 comments on commit 9b88482

Please sign in to comment.