Repositories: fix lint warning react-hooks/exhaustive-deps with adding useCallback hook #945
Annotations
5 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run lint check:
src/Components/CreateImageWizard/formComponents/MountPoint.js#L53
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
Run lint check:
src/Components/CreateImageWizard/formComponents/Packages.js#L162
React Hook useEffect has a missing dependency: 'selectedPackages'. Either include it or remove the dependency array
|
Run lint check:
src/Components/CreateImageWizard/formComponents/Packages.js#L255
React Hook useEffect has a missing dependency: 'keydownHandler'. Either include it or remove the dependency array
|
Run lint check:
src/Components/CreateImageWizard/formComponents/SizeUnit.js#L20
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
The logs for this run have expired and are no longer available.
Loading