Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin940726 committed Nov 20, 2023
1 parent a50746e commit fb43ec2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/block/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ export default function ReusableBlockEdit( {
const blocks = getBlocks( patternClientId );
if ( blocks !== prevBlocks ) {
prevBlocks = blocks;
// TODO: We should probably cache this somehow to improve performance.
const nextDynamicContent = getDynamicContentFromBlocks(
blocks,
defaultValuesRef.current
Expand Down

0 comments on commit fb43ec2

Please sign in to comment.