Skip to content

Commit

Permalink
tweak copy, remove extra description (#62161)
Browse files Browse the repository at this point in the history
Co-authored-by: richtabor <richtabor@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
  • Loading branch information
3 people authored May 31, 2024
1 parent 638d536 commit 1f35069
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
12 changes: 2 additions & 10 deletions packages/editor/src/components/post-transform-panel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/
import { useSelect, useDispatch } from '@wordpress/data';
import { store as coreStore } from '@wordpress/core-data';
import { PanelBody, PanelRow } from '@wordpress/components';
import { PanelBody } from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import { useAsyncList } from '@wordpress/compose';
import { __experimentalBlockPatternsList as BlockPatternsList } from '@wordpress/block-editor';
Expand Down Expand Up @@ -62,17 +62,9 @@ function PostTransform() {

return (
<PanelBody
title={ __( 'Transform into:' ) }
title={ __( 'Design' ) }
initialOpen={ record.type === TEMPLATE_PART_POST_TYPE }
>
<PanelRow>
<p>
{ __(
'Choose a predefined pattern to switch up the look of your template.' // TODO - make this dynamic?
) }
</p>
</PanelRow>

<TemplatesList
availableTemplates={ availablePatterns }
onSelect={ onTemplateSelect }
Expand Down
2 changes: 1 addition & 1 deletion test/performance/specs/site-editor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ test.describe( 'Site Editor Performance', () => {
.click();
} else {
await page
.getByRole( 'button', { name: 'Transform into:' } )
.getByRole( 'button', { name: 'Design' } )
.click();
}

Expand Down

0 comments on commit 1f35069

Please sign in to comment.