Skip to content

Add missing updateInitialize code for plugin install #1348

Add missing updateInitialize code for plugin install

Add missing updateInitialize code for plugin install #1348

Triggered via push January 17, 2024 08:39
Status Success
Total duration 1m 52s
Artifacts
Run Lint Checks
1m 41s
Run Lint Checks
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
Run Lint Checks: src/OnboardingSPA/steps/SiteGen/Preview/index.js#L50
React Hook useEffect has missing dependencies: 'setDrawerActiveView', 'setHeaderActiveView', 'setIsHeaderEnabled', 'setSidebarActiveView', and 'updateInitialize'. Either include them or remove the dependency array
Run Lint Checks: src/OnboardingSPA/steps/SiteGen/Preview/index.js#L81
React Hook useEffect has missing dependencies: 'currentData', 'homepages', and 'setCurrentOnboardingData'. Either include them or remove the dependency array. You can also do a functional update 'setHomepages(h => ...)' if you only need 'homepages' in the 'setHomepages' call
Run Lint Checks: src/OnboardingSPA/steps/SiteGen/Preview/index.js#L206
React Hook useMemo has a missing dependency: 'createPreviewSettings'. Either include it or remove the dependency array