Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ellatrix committed Jan 31, 2020
1 parent 4255754 commit 7d4977b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/block-editor/src/components/editable/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,10 @@
import RichText from '../rich-text';

function Editable( props ) {
return (
<RichText { ...props } __unstableDisableFormats />
);
return <RichText { ...props } __unstableDisableFormats />;
}

Editable.Content = ( {
value = '',
tagName: Tag = 'div',
...props
} ) => {
Editable.Content = ( { value = '', tagName: Tag = 'div', ...props } ) => {
return <Tag { ...props }>{ value }</Tag>;
};

Expand Down

0 comments on commit 7d4977b

Please sign in to comment.