Skip to content

Update index.js

Update index.js #1338

Triggered via push January 17, 2024 02:27
Status Success
Total duration 38s
Artifacts
Run Lint Checks
30s
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#L51
React Hook useEffect has missing dependencies: 'currentData.sitegen.siteDetails.prompt', 'isValidInput', 'setDrawerActiveView', 'setFooterNavEnabled', 'setHeaderActiveView', 'setIsHeaderEnabled', and 'setSidebarActiveView'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/steps/SiteGen/SiteDetails/index.js#L66
React Hook useEffect has missing dependencies: 'currentData', 'isValidInput', 'setCurrentOnboardingData', and 'setFooterNavEnabled'. Either include them or remove the dependency array