Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ramyakrishnai committed Jul 22, 2024
1 parent f14f4de commit e34bd49
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ const SiteBuild = () => {

// Track Migration Initated Event in the Migration Step.
useEffect( () => {
fetchWPSettings().then( res => setIsMfeMigrationInitiated( res.nfd_migrate_site ) );
fetchWPSettings().then( ( res ) => ( setIsMfeMigrationInitiated( res.nfd_migrate_site ) ) );
trackInstaWpMigrationEvent();
}, [ instaWpMigrationUrl ] );

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

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has a missing dependency: 'trackInstaWpMigrationEvent'. Either include it or remove the dependency array

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

View workflow job for this annotation

GitHub Actions / Run Lint Checks

React Hook useEffect has a missing dependency: 'trackInstaWpMigrationEvent'. Either include it or remove the dependency array

Expand Down

0 comments on commit e34bd49

Please sign in to comment.