Skip to content

Commit

Permalink
Remove leftovers
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewalczak committed Dec 20, 2019
1 parent b5a801d commit ade20e1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,14 @@ class BlockListBlock extends Component {
getStylesFromColorScheme,
isSmallScreen,
isRootListInnerBlockHolder,
isUnregisteredBlock,
} = this.props;

const fullSolidBorderStyle = { // define style for full border
...styles.fullSolidBordered,
...getStylesFromColorScheme( styles.solidBorderColor, styles.solidBorderColorDark ),
};

if ( hasChildren && ! isUnregisteredBlock ) { // if block has children apply style for selected parent
if ( hasChildren ) { // if block has children apply style for selected parent
return { ...styles.selectedParent, ...fullSolidBorderStyle };
}

Expand Down

0 comments on commit ade20e1

Please sign in to comment.