Skip to content

Update index.js

Update index.js #1320

Triggered via push January 15, 2024 18:20
Status Success
Total duration 33s
Artifacts
Run Lint Checks
25s
Run Lint Checks
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
Run Lint Checks: src/OnboardingSPA/components/TextInput/TextInputSiteGen/index.js#L26
React Hook useEffect has missing dependencies: 'height' and 'setIsValidInput'. Either include them or remove the dependency array. If 'setIsValidInput' changes too often, find the parent component that defines it and wrap that definition in useCallback
Run Lint Checks: src/OnboardingSPA/steps/SiteGen/SiteDetails/index.js#L48
React Hook useEffect has missing dependencies: 'currentData.sitegen.siteDetails.prompt', 'setDrawerActiveView', 'setFooterNavEnabled', 'setHeaderActiveView', 'setIsHeaderEnabled', and 'setSidebarActiveView'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/steps/SiteGen/SiteDetails/index.js#L58
React Hook useEffect has missing dependencies: 'currentData', 'isValidInput', 'setCurrentOnboardingData', and 'setFooterNavEnabled'. Either include them or remove the dependency array