Skip to content

Commit

Permalink
Removed undefined "focus" - resolves broken unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
DevinWalker committed Oct 8, 2017
1 parent cb1d7a9 commit 0eab951
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/library/freeform/old-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class OldEditor extends Component {
render() {
const { id } = this.props;

const inspectorControls = focus && (
const inspectorControls = (
<InspectorControls key="inspector">
<BlockDescription>
<p>{ __( 'The Class Editor block allows you add content using a WYSIWYG editor.' ) }</p>
Expand Down

0 comments on commit 0eab951

Please sign in to comment.