Merge pull request #445 from newfold-labs/siteErrorPage #1558
Annotations
11 warnings
Run Lint Checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, technote-space/get-diff-action@v6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run Lint Checks:
src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L175
React Hook useEffect has a missing dependency: 'pluginInstallHash'. Either include it or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L181
React Hook useEffect has missing dependencies: 'generateSiteGenData', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L188
React Hook useEffect has missing dependencies: 'generateSiteGenData' and 'syncStoreToDB'. Either include them or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/steps/SiteGen/Experience/index.js#L37
React Hook useEffect contains a call to 'setSelection'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [setHideFooterNav, setIsHeaderEnabled, setSidebarActiveView, setHeaderActiveView, setDrawerActiveView, currentData.sitegen.experience.level] as a second argument to the useEffect Hook
|
Run Lint Checks:
src/OnboardingSPA/steps/SiteGen/Preview/index.js#L52
React Hook useEffect has missing dependencies: 'setDrawerActiveView', 'setHeaderActiveView', 'setHideFooterNav', 'setIsHeaderEnabled', 'setSidebarActiveView', and 'updateInitialize'. Either include them or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/steps/SiteGen/Preview/index.js#L94
React Hook useEffect has a missing dependency: 'loadHomepages'. Either include it or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/steps/SiteGen/SiteDetails/index.js#L49
React Hook useEffect has missing dependencies: 'currentData.sitegen.siteDetails.prompt', 'setDrawerActiveView', 'setHeaderActiveView', 'setHideFooterNav', 'setIsFooterNavAllowed', 'setIsHeaderEnabled', and 'setSidebarActiveView'. Either include them or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/steps/SiteGen/SiteDetails/index.js#L64
React Hook useEffect has missing dependencies: 'currentData', 'isValidInput', 'setCurrentOnboardingData', and 'setIsFooterNavAllowed'. Either include them or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/steps/SiteGen/SiteLogo/index.js#L67
React Hook useEffect has missing dependencies: 'currentData.data.siteLogo', 'getEditedEntityRecord', 'setDrawerActiveView', 'setHeaderActiveView', 'setHideFooterNav', 'setIsFooterNavAllowed', 'setIsHeaderEnabled', and 'setSidebarActiveView'. Either include them or remove the dependency array
|
Run Lint Checks:
src/OnboardingSPA/steps/SiteGen/SocialMedia/index.js#L55
React Hook useEffect has missing dependencies: 'navigate' and 'nextStep.path'. Either include them or remove the dependency array
|