Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Dec 7, 2023
1 parent 3b7cd0a commit 55ef086
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export function useBlockProps( props = {}, { __unstableIsHtml } = {} ) {
isSubtreeDisabled: isBlockSubtreeDisabled( clientId ),
isOutlineEnabled: outlineMode,
classNames: classnames( {
'is-selected': isSelected,
'is-selected': _isSelected,
'is-highlighted': isBlockHighlighted( clientId ),
'is-multi-selected': isMultiSelected,
'is-partially-selected':
Expand All @@ -174,7 +174,7 @@ export function useBlockProps( props = {}, { __unstableIsHtml } = {} ) {
'is-reusable': isReusableBlock( blockType ),
'is-dragging': isBlockBeingDragged( clientId ),
'has-child-selected': isAncestorOfSelectedBlock,
'remove-outline': isSelected && outlineMode && typing,
'remove-outline': _isSelected && outlineMode && typing,
'is-block-moving-mode': !! movingClientId,
'can-insert-moving-block':
movingClientId &&
Expand All @@ -183,7 +183,8 @@ export function useBlockProps( props = {}, { __unstableIsHtml } = {} ) {
getBlockRootClientId( clientId )
),
[ attributes.className ]: hasLightBlockWrapper,
[ getBlockDefaultClassName( name ) ]: hasLightBlockWrapper,
[ getBlockDefaultClassName( blockName ) ]:
hasLightBlockWrapper,
} ),
};
},
Expand Down

0 comments on commit 55ef086

Please sign in to comment.