Skip to content

Improve fork logic to switch based on the brand config. #1042

Improve fork logic to switch based on the brand config.

Improve fork logic to switch based on the brand config. #1042

Triggered via push November 29, 2023 04:10
Status Success
Total duration 1m 51s
Artifacts
Run Lint Checks
1m 40s
Run Lint Checks
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Run Lint Checks: src/OnboardingSPA/components/Loaders/SiteGenLoader/index.js#L24
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#L39
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#L47
React Hook useEffect has missing dependencies: 'autoNavigate', 'navigate', and 'nextStep'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L104
React Hook useSelect has an unnecessary dependency: 'location.pathname'. Either exclude it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L367
React Hook useEffect has a missing dependency: 'trackChapters'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L408
React Hook useEffect has a missing dependency: 'pluginInstallHash'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L414
React Hook useEffect has missing dependencies: 'brandConfig?.prioritization' and 'prioritizeFlow'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteBuild/index.js#L424
React Hook useEffect has missing dependencies: 'handleConditionalDesignStepsRoutes', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js#L114
React Hook useEffect has missing dependencies: 'generateSiteGenData', 'handlePreviousStepTracking', and 'syncStoreToDB'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/StateHandlers/Flow/index.js#L93
React Hook useEffect has missing dependencies: 'disableNavigation', 'onboardingFlow', 'setActiveFlow', 'setActiveStep', and 'switchToNewFlow'. Either include them or remove the dependency array