Skip to content
Triggered via push November 17, 2023 05:03
Status Success
Total duration 33s
Artifacts
Run Lint Checks
25s
Run Lint Checks
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
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#L43
React Hook useEffect has missing dependencies: 'autoNavigate', 'navigate', and 'nextStep'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/components/TextInput/TextInputSiteBuild/index.js#L20
React Hook useEffect has a missing dependency: 'height'. Either include it or remove the dependency array
Run Lint Checks: src/OnboardingSPA/steps/BasicInfo/basicInfoForm.js#L89
React Hook useEffect has missing dependencies: 'currentData', 'flowData', 'getEditedEntityRecord', 'setDefaultData', and 'setOnboardingSocialData'. Either include them or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setDebouncedFlowData' needs the current value of 'flowData'
Run Lint Checks: src/OnboardingSPA/steps/BasicInfo/basicInfoForm.js#L101
React Hook useEffect has missing dependencies: 'createSaveData' and 'isLoaded'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/steps/BasicInfo/basicInfoForm.js#L133
React Hook useEffect has missing dependencies: 'currentData', 'setCurrentOnboardingData', and 'updateCoreStore'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/steps/SiteGen/Experience/index.js#L35
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 [setIsHeaderEnabled, setSidebarActiveView, setHeaderActiveView, setDrawerActiveView, currentData.sitegen.experience.level] as a second argument to the useEffect Hook
Run Lint Checks: src/OnboardingSPA/steps/SiteGen/SiteDetails/index.js#L41
React Hook useEffect has missing dependencies: 'currentData.sitegen.siteDetails.prompt', 'setDrawerActiveView', 'setHeaderActiveView', 'setIsHeaderEnabled', and 'setSidebarActiveView'. Either include them or remove the dependency array