Skip to content

Commit

Permalink
1. removed variable usage as suggested by @aduth
Browse files Browse the repository at this point in the history
2. Updated description WordPress#2832
  • Loading branch information
DevinWalker committed Oct 10, 2017
1 parent 0eab951 commit ec7f1a9
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions blocks/library/freeform/old-editor.js
Expand Up @@ -165,16 +165,12 @@ export default class OldEditor extends Component {
render() {
const { id } = this.props;

const inspectorControls = (
return [
<InspectorControls key="inspector">
<BlockDescription>
<p>{ __( 'The Class Editor block allows you add content using a WYSIWYG editor.' ) }</p>
<p>{ __( 'The Classic Text block gives you an editor that is similar to a word processor.' ) }</p>
</BlockDescription>
</InspectorControls>
);

return [
inspectorControls,
</InspectorControls>,
<div
key="toolbar"
id={ id + '-toolbar' }
Expand Down

0 comments on commit ec7f1a9

Please sign in to comment.