diff --git a/packages/edit-site/src/components/welcome-guide/editor.js b/packages/edit-site/src/components/welcome-guide/editor.js index c7a1072bf79057..2dcc1fa9b565b7 100644 --- a/packages/edit-site/src/components/welcome-guide/editor.js +++ b/packages/edit-site/src/components/welcome-guide/editor.js @@ -32,7 +32,7 @@ export default function WelcomeGuideEditor() { toggle( 'core/edit-site', 'welcomeGuide' ) } pages={ [ { diff --git a/packages/edit-site/src/components/welcome-guide/styles.js b/packages/edit-site/src/components/welcome-guide/styles.js index 6cc664c6373fa1..d60d41d7a1a4f8 100644 --- a/packages/edit-site/src/components/welcome-guide/styles.js +++ b/packages/edit-site/src/components/welcome-guide/styles.js @@ -34,11 +34,13 @@ export default function WelcomeGuideStyles() { return null; } + const welcomeLabel = __( 'Welcome to Styles' ); + return ( toggle( 'core/edit-site', 'welcomeGuideStyles' ) } pages={ [ { @@ -51,7 +53,7 @@ export default function WelcomeGuideStyles() { content: ( <>

- { __( 'Welcome to Styles' ) } + { welcomeLabel }

{ __(