Update index.js #1320
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
|