From 0654e6caf94283b5dd76cd2209b4d4b72fe97492 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Date: Mon, 15 Mar 2021 16:43:10 +0100 Subject: [PATCH] Remove parent icon from floating toolbar --- .../block-selection-button.native.js | 24 +------------------ .../block-list/subdirectory-icon.js | 21 ---------------- 2 files changed, 1 insertion(+), 44 deletions(-) delete mode 100644 packages/block-editor/src/components/block-list/subdirectory-icon.js diff --git a/packages/block-editor/src/components/block-list/block-selection-button.native.js b/packages/block-editor/src/components/block-list/block-selection-button.native.js index 699988f4028826..a1a3ececef57ec 100644 --- a/packages/block-editor/src/components/block-list/block-selection-button.native.js +++ b/packages/block-editor/src/components/block-list/block-selection-button.native.js @@ -15,17 +15,10 @@ import { View, Text, TouchableOpacity } from 'react-native'; * Internal dependencies */ import BlockTitle from '../block-title'; -import SubdirectorSVG from './subdirectory-icon'; import { store as blockEditorStore } from '../../store'; import styles from './block-selection-button.scss'; -const BlockSelectionButton = ( { - clientId, - blockIcon, - rootClientId, - rootBlockIcon, - isRTL, -} ) => { +const BlockSelectionButton = ( { clientId, blockIcon, rootClientId } ) => { return ( - { rootClientId && - rootBlockIcon && [ - , - - - , - ] } ( - - - -); -export default Subdirectory;