Skip to content

Commit

Permalink
PRESS2-1233 | fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajay Yadav committed Nov 10, 2023
1 parent 3df53fe commit 3a4e5f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/OnboardingSPA/components/AdminBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ const AdminBar = () => {
return (
<div className="nfd-onboarding-header__admin-bar">
<div className="nfd-onboarding-header__admin-bar__wplogo">
<Icon icon={wordpress} />
<span>{__('WordPress', 'wp-module-onboarding')}</span>
<Icon icon={ wordpress } />
<span>{ __( 'WordPress', 'wp-module-onboarding' ) }</span>
</div>
<div className="nfd-onboarding-header__admin-bar__profile">
<span className="nfd-onboarding-header__admin-bar__profile__greeting">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ const SiteBuild = () => {
handleConditionalDesignStepsRoutes();
}, [ location.pathname, onboardingFlow ] );

Check warning on line 424 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'handleConditionalDesignStepsRoutes', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array

Check warning on line 424 in src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has missing dependencies: 'handleConditionalDesignStepsRoutes', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array

// wrapping the NewfoldInterfaceSkeleton with the HOC to make 'theme' available
// wrapping the NewfoldInterfaceSkeleton with the HOC to make 'theme' available
const ThemedNewfoldInterfaceSkeleton = themeToggleHOC(
NewfoldInterfaceSkeleton,
'nfd-onboarding-sitegen-dark',
Expand Down

0 comments on commit 3a4e5f4

Please sign in to comment.