diff --git a/packages/edit-site/src/components/add-new-pattern/index.js b/packages/edit-site/src/components/add-new-pattern/index.js index e4c990dae1e868..ab309da1ab12d8 100644 --- a/packages/edit-site/src/components/add-new-pattern/index.js +++ b/packages/edit-site/src/components/add-new-pattern/index.js @@ -12,8 +12,8 @@ import { privateApis as routerPrivateApis } from '@wordpress/router'; */ import CreatePatternModal from '../create-pattern-modal'; import CreateTemplatePartModal from '../create-template-part-modal'; -import { unlock } from '../../lock-unlock'; import SidebarButton from '../sidebar-button'; +import { unlock } from '../../lock-unlock'; const { useHistory } = unlock( routerPrivateApis ); @@ -66,13 +66,11 @@ export default function AddNewPattern() { title: __( 'Create pattern' ), }, ] } - icon={ - - } - label={ __( 'Create pattern.' ) } + toggleProps={ { + as: SidebarButton, + } } + icon={ plus } + label={ __( 'Create pattern' ) } /> { showPatternModal && ( ) } { ! isRoot && backPath && ( @@ -69,6 +70,7 @@ export default function SidebarNavigationScreen( { onClick={ () => goTo( backPath, { isBack: true } ) } icon={ icon } label={ __( 'Back' ) } + showTooltip={ false } /> ) } { isRoot && (