From b8befd2a2d18070fabcdc60e8c5f9ad82e14ec36 Mon Sep 17 00:00:00 2001 From: Steven Dufresne Date: Thu, 16 Jul 2020 07:50:32 +0900 Subject: [PATCH] Remove messaging that suggests contacting administrator for users without permissions. (#23948) --- .../src/components/downloadable-blocks-panel/index.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/packages/block-directory/src/components/downloadable-blocks-panel/index.js b/packages/block-directory/src/components/downloadable-blocks-panel/index.js index e78077c99e47f..835141927c7ba 100644 --- a/packages/block-directory/src/components/downloadable-blocks-panel/index.js +++ b/packages/block-directory/src/components/downloadable-blocks-panel/index.js @@ -22,18 +22,10 @@ function DownloadableBlocksPanel( { debouncedSpeak, } ) { if ( false === hasPermission ) { - debouncedSpeak( - __( - 'No blocks found in your library. Please contact your site administrator to install new blocks.' - ) - ); + debouncedSpeak( __( 'No blocks found in your library.' ) ); return (

{ __( 'No blocks found in your library.' ) } -
- { __( - 'Please contact your site administrator to install new blocks.' - ) }

); }