Skip to content

Commit

Permalink
improve a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Aug 16, 2022
1 parent c8d881d commit efcdb1e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export default function UnsavedInnerBlocks( {
// from the original inner blocks from the post content then the
// user has made changes to the inner blocks. At this point the inner
// blocks can be considered "dirty".
// We also make sure the current innerBlocks had a chance to be set.
const innerBlocksAreDirty =
!! originalBlocks.current && blocks !== originalBlocks.current;

Expand Down

0 comments on commit efcdb1e

Please sign in to comment.