Skip to content

Commit

Permalink
Clean up inner blocks props application
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Apr 27, 2023
1 parent 178fc84 commit eadf23f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/pattern/save.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default function save( { attributes } ) {
if ( attributes.syncStatus === 'synced' ) {
return null;
}

const blockProps = useBlockProps.save();
const innerBlocksProps = useInnerBlocksProps.save( blockProps );
return <>{ innerBlocksProps.children }</>;
Expand Down

0 comments on commit eadf23f

Please sign in to comment.