Skip to content

Commit

Permalink
renamed variable blockSupportsInteractivityBool to blockSupportsInter…
Browse files Browse the repository at this point in the history
…activity
  • Loading branch information
colinduwe committed Apr 5, 2024
1 parent 64c1f52 commit abd09fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/query/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ export const useUnsupportedBlocks = ( clientId ) => {
* - supports.interactivity = true;
* - supports.interactivity.clientNavigation = true;
*/
const blockSupportsInteractivityBool = Object.is(
const blockSupportsInteractivity = Object.is(
getBlockSupport( blockName, 'interactivity' ),
true
);
Expand All @@ -394,7 +394,7 @@ export const useUnsupportedBlocks = ( clientId ) => {
'interactivity.clientNavigation'
);
const blockInteractivity =
blockSupportsInteractivityBool ||
blockSupportsInteractivity ||
blockSupportsInteractivityClientNavigation;
if ( ! blockInteractivity ) {
blocks.hasBlocksFromPlugins = true;
Expand Down

0 comments on commit abd09fd

Please sign in to comment.