Skip to content

Commit

Permalink
remove extra import. h/t @retrofox
Browse files Browse the repository at this point in the history
  • Loading branch information
marekhrabe committed Jul 31, 2019
1 parent 873bd40 commit 3251ebd
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions packages/block-editor/src/components/block-preview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import classnames from 'classnames';
/**
* WordPress dependencies
*/
import { __ } from '@wordpress/i18n';
import { Disabled } from '@wordpress/components';
import { withSelect } from '@wordpress/data';

Expand All @@ -31,15 +30,15 @@ function BlockPreview( { blocks, settings, className, isScaled } ) {
return (
<Disabled
aria-hidden
className={ classnames(
'editor-block-preview',
'block-editor-block-preview',
'editor-styles-wrapper',
className,
{
'is-scaled': isScaled,
}
) }
className={
classnames(
'editor-block-preview', 'block-editor-block-preview',
'editor-styles-wrapper', className,
{
'is-scaled': isScaled,
}
)
}
>
<BlockEditorProvider
value={ castArray( blocks ) }
Expand Down

0 comments on commit 3251ebd

Please sign in to comment.