From 8a49967a1d9f8588e5c0a9b4afe1278140443fb0 Mon Sep 17 00:00:00 2001 From: arunshenoy99 Date: Wed, 31 Jan 2024 18:52:06 +0530 Subject: [PATCH] Fix lint in branch --- .../components/Button/NextButtonSiteGen/index.js | 4 +++- src/OnboardingSPA/components/Header/index.js | 1 - .../Sidebar/components/Customize/DesignColorsPanel/index.js | 6 +++--- src/Scripts/sitegen-theme-marker/sitegen-theme-marker.js | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/OnboardingSPA/components/Button/NextButtonSiteGen/index.js b/src/OnboardingSPA/components/Button/NextButtonSiteGen/index.js index 9d7f6a5a4..34139693b 100644 --- a/src/OnboardingSPA/components/Button/NextButtonSiteGen/index.js +++ b/src/OnboardingSPA/components/Button/NextButtonSiteGen/index.js @@ -37,7 +37,9 @@ const NextButtonSiteGen = ( { } } } > -

{ text }

+

+ { text } +

{ showChevronRight && ( { const { headers, headerActiveView, isHeaderEnabled, currentStep } = diff --git a/src/OnboardingSPA/components/Sidebar/components/Customize/DesignColorsPanel/index.js b/src/OnboardingSPA/components/Sidebar/components/Customize/DesignColorsPanel/index.js index 007ee4e87..1d16df169 100644 --- a/src/OnboardingSPA/components/Sidebar/components/Customize/DesignColorsPanel/index.js +++ b/src/OnboardingSPA/components/Sidebar/components/Customize/DesignColorsPanel/index.js @@ -318,9 +318,9 @@ const DesignColorsPanel = forwardRef( label={ idx === 0 ? __( - 'Default', - 'wp-module-onboarding' - ) + 'Default', + 'wp-module-onboarding' + ) : '' } selectedPalette={ selectedPalette } diff --git a/src/Scripts/sitegen-theme-marker/sitegen-theme-marker.js b/src/Scripts/sitegen-theme-marker/sitegen-theme-marker.js index 2c17106e0..01dd4e9b0 100644 --- a/src/Scripts/sitegen-theme-marker/sitegen-theme-marker.js +++ b/src/Scripts/sitegen-theme-marker/sitegen-theme-marker.js @@ -1,4 +1,4 @@ -window.onload = function() { +window.onload = function () { const homepages = window.nfdOnboarding.homepages.data; const activeTheme = window.nfdOnboarding.active; Object.keys( homepages ).forEach( ( slug ) => {