Skip to content

Commit

Permalink
Fix selector dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Sep 19, 2023
1 parent 40c9dde commit 4d5d020
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/block-editor/src/store/private-selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ export const isBlockSubtreeDisabled = createSelector(
getBlockOrder( state, clientId ).every( isChildSubtreeDisabled )
);
},
( state ) => [ state.blockEditingModes, state.blocks.parents ]
( state ) => [
state.blocks.parents,
state.blocks.order,
state.blockEditingModes,
state.blockListSettings,
]
);

/**
Expand Down

0 comments on commit 4d5d020

Please sign in to comment.