Skip to content

Commit

Permalink
Eliminate unnecessary <span>
Browse files Browse the repository at this point in the history
Simplify the edit panel DOM tree by replacing <span><b /></span> with
just the single <b>.
  • Loading branch information
noisysocks committed Mar 12, 2018
1 parent 5af814e commit 3b92ad5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blocks/library/block/edit-panel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ class ReusableBlockEditPanel extends Component {
<Fragment>
{ ( ! isEditing && ! isSaving ) && (
<div className="reusable-block-edit-panel">
<span className="reusable-block-edit-panel__info">
<b>{ title }</b>
</span>
<b className="reusable-block-edit-panel__info">
{ title }
</b>
<Button isLarge className="reusable-block-edit-panel__button" onClick={ onEdit }>
{ __( 'Edit' ) }
</Button>
Expand Down

0 comments on commit 3b92ad5

Please sign in to comment.