diff --git a/blocks/library/gallery/index.js b/blocks/library/gallery/index.js index 8034be3c381ba3..2bac363e1b3a54 100644 --- a/blocks/library/gallery/index.js +++ b/blocks/library/gallery/index.js @@ -4,9 +4,8 @@ import './style.scss'; import { registerBlock, query as hpq } from '../../api'; -// TODO: Revisit when we have a common components solution -import Dashicon from '../../../components/dashicon'; -import Button from '../../../components/button'; +import Button from 'components/button'; +import Placeholder from 'components/placeholder'; import GalleryImage from './gallery-image'; @@ -37,19 +36,15 @@ registerBlock( 'core/gallery', { if ( ! images ) { return ( -
-
- - { wp.i18n.__( 'Gallery' ) } -
-
- { wp.i18n.__( 'Drag images here or insert from media library' ) } -
- -
+ ); } @@ -72,5 +67,6 @@ registerBlock( 'core/gallery', { ) ) } ); - } + }, + } );