Skip to content

Merge pull request #530 from newfold-labs/fix/error-state #1896

Merge pull request #530 from newfold-labs/fix/error-state

Merge pull request #530 from newfold-labs/fix/error-state #1896

Triggered via push April 8, 2024 11:01
Status Success
Total duration 43s
Artifacts
Run Lint Checks
33s
Run Lint Checks
Fit to window
Zoom out
Zoom in

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/ErrorState/Step/SiteGen/index.js#L56
React Hook useEffect has missing dependencies: 'setDrawerActiveView', 'setHeaderActiveView', 'setHideFooterNav', 'setIsHeaderEnabled', 'setIsHeaderNavigationEnabled', and 'setSidebarActiveView'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/Loaders/SiteGenLoader/index.js#L28
Assignments to the 'statusIdx' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
Run Lint Checks: src/OnboardingSPA/components/Loaders/SiteGenLoader/index.js#L46
React Hook useEffect has a missing dependency: 'currentData?.sitegen?.siteGenMetaStatus?.totalCount'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/Loaders/SiteGenLoader/index.js#L57
React Hook useEffect has missing dependencies: 'customNavPercentage', 'navigate', and 'nextStep'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L106
React Hook useEffect has a missing dependency: 'getEditedEntityRecord'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L114
React Hook useEffect has a missing dependency: 'trackChapters'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L121
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#L127
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#L137
React Hook useEffect has a missing dependency: 'generateSiteGenData'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/steps/SiteGen/Experience/index.js#L54
React Hook useEffect has missing dependencies: 'setDrawerActiveView', 'setHeaderActiveView', 'setHideFooterNav', 'setIsHeaderEnabled', 'setIsHeaderNavigationEnabled', and 'setSidebarActiveView'. Either include them or remove the dependency array