diff --git a/packages/block-editor/src/components/ungroup-button/icon.js b/packages/block-editor/src/components/ungroup-button/icon.js deleted file mode 100644 index d71219e4696662..00000000000000 --- a/packages/block-editor/src/components/ungroup-button/icon.js +++ /dev/null @@ -1,26 +0,0 @@ -/** - * WordPress dependencies - */ -import { SVG, Path } from '@wordpress/components'; - -const UngroupSVG = ( - - - - -); - -export default UngroupSVG; diff --git a/packages/block-editor/src/components/ungroup-button/index.native.js b/packages/block-editor/src/components/ungroup-button/index.native.js index 6a09ddd40cf12a..4abfd6a81f9974 100644 --- a/packages/block-editor/src/components/ungroup-button/index.native.js +++ b/packages/block-editor/src/components/ungroup-button/index.native.js @@ -6,11 +6,11 @@ import { ToolbarGroup, ToolbarButton } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { withSelect, withDispatch } from '@wordpress/data'; import { compose } from '@wordpress/compose'; +import { ungroup } from '@wordpress/icons'; /** * Internal dependencies */ -import UngroupIcon from './icon'; import { store as blockEditorStore } from '../../store'; const noop = () => {}; @@ -24,7 +24,7 @@ export function UngroupButton( { onConvertFromGroup, isUngroupable = false } ) {