Skip to content

Commit

Permalink
Use <> instead of <Fragment>
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed Jun 6, 2020
1 parent 2006eae commit a2b67d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/block-library/src/rich-image/rich-image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
BlockControls,
__experimentalBlock as Block,
} from '@wordpress/block-editor';
import { Fragment, Component } from '@wordpress/element';
import { Component } from '@wordpress/element';
import {
ToolbarGroup,
ToolbarButton,
Expand Down Expand Up @@ -141,7 +141,7 @@ class RichImage extends Component {
} );

return (
<Fragment>
<>
{ noticeUI }

<div className={ classes }>
Expand Down Expand Up @@ -309,7 +309,7 @@ class RichImage extends Component {
toggleProps={ toggleProps }
>
{ ( { onClose } ) => (
<Fragment>
<>
<MenuGroup
label={ __( 'Landscape' ) }
>
Expand Down Expand Up @@ -421,7 +421,7 @@ class RichImage extends Component {
{ __( 'Square' ) }
</MenuItem>
</MenuGroup>
</Fragment>
</>
) }
</DropdownMenu>
) }
Expand All @@ -441,7 +441,7 @@ class RichImage extends Component {
</ToolbarGroup>
</BlockControls>
) }
</Fragment>
</>
);
}
}
Expand Down

0 comments on commit a2b67d3

Please sign in to comment.