Skip to content

Update index.js

Update index.js #1249

Triggered via push January 4, 2024 05:33
Status Success
Total duration 1m 29s
Artifacts
Run Lint Checks
1m 20s
Run Lint Checks
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
Run Lint Checks: src/OnboardingSPA/components/TextInput/TextInputSiteGen/index.js#L23
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#L46
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#L52
React Hook useEffect has missing dependencies: 'currentData', 'isValidInput', 'setCurrentOnboardingData', and 'setFooterNavEnabled'. Either include them or remove the dependency array