Skip to content

Commit

Permalink
fix refactor template part code to use new hasInerBlocks check
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiankaegy committed Feb 14, 2024
1 parent 4c08dd1 commit d2e8a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/template-part/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export default function TemplatePartEdit( {
tagName={ TagName }
blockProps={ blockProps }
postId={ templatePartId }
hasInnerBlocks={ innerBlocks.length > 0 }
hasInnerBlocks={ hasInnerBlocks }
layout={ layout }
/>
</RecursionProvider>
Expand Down

0 comments on commit d2e8a2d

Please sign in to comment.