Skip to content

Commit

Permalink
Merge pull request #444 from newfold-labs/fix/ai-onboarding-lint
Browse files Browse the repository at this point in the history
Fix lint in `enhance/ai-onboarding` branch
  • Loading branch information
arunshenoy99 authored Jan 31, 2024
2 parents 6d99a11 + 8a49967 commit 907dd94
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ const NextButtonSiteGen = ( {
}
} }
>
<p className="nfd-onboarding-button--site-gen-next--text">{ text }</p>
<p className="nfd-onboarding-button--site-gen-next--text">
{ text }
</p>

{ showChevronRight && (
<Icon
Expand Down
1 change: 0 additions & 1 deletion src/OnboardingSPA/components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
} from '../../../constants';
import { stepSiteGenEditor } from '../../steps/SiteGen/Editor/step';
import { SITEGEN_FLOW } from '../../data/flows/constants';
import ExitToWordPress from '../ExitToWordPress';

const Header = () => {
const { headers, headerActiveView, isHeaderEnabled, currentStep } =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ const DesignColorsPanel = forwardRef(
label={
idx === 0
? __(
'Default',
'wp-module-onboarding'
)
'Default',
'wp-module-onboarding'
)
: ''
}
selectedPalette={ selectedPalette }
Expand Down
2 changes: 1 addition & 1 deletion src/Scripts/sitegen-theme-marker/sitegen-theme-marker.js
Original file line number Diff line number Diff line change
@@ -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 ) => {
Expand Down

0 comments on commit 907dd94

Please sign in to comment.