Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed May 27, 2022
1 parent df2b505 commit c2a5d89
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,10 @@ export function useBlockProps(
triggerAnimationOnChange: index,
} ),
useDisabled( {
isDisabled:
( isExplodedMode && isRootBlock ) || __unstableHasOverlay,
isDisabled: ! (
( isExplodedMode && isRootBlock ) ||
__unstableHasOverlay
),
} ),
] );

Expand Down

0 comments on commit c2a5d89

Please sign in to comment.