Skip to content

Resolve Controlled Component Error by Initializing with Empty Strings #927

Resolve Controlled Component Error by Initializing with Empty Strings

Resolve Controlled Component Error by Initializing with Empty Strings #927

Triggered via pull request January 25, 2024 15:44
Status Success
Total duration 3m 16s
Artifacts

dev-checks.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
tests (16.x)
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/.
tests (16.x): 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
tests (16.x): src/Components/CreateImageWizard/formComponents/Packages.js#L162
React Hook useEffect has a missing dependency: 'selectedPackages'. Either include it or remove the dependency array
tests (16.x): src/Components/CreateImageWizard/formComponents/Packages.js#L255
React Hook useEffect has a missing dependency: 'keydownHandler'. Either include it or remove the dependency array
tests (16.x): src/Components/CreateImageWizard/formComponents/Repositories.js#L257
React Hook useMemo has missing dependencies: 'data' and 'initializeRepositories'. Either include them or remove the dependency array
tests (16.x): src/Components/CreateImageWizard/formComponents/Repositories.js#L293
React Hook useMemo has a missing dependency: 'isRepoSelected'. Either include it or remove the dependency array
tests (16.x): 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
tests (18.x)
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/.
tests (18.x): 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
tests (18.x): src/Components/CreateImageWizard/formComponents/Packages.js#L162
React Hook useEffect has a missing dependency: 'selectedPackages'. Either include it or remove the dependency array
tests (18.x): src/Components/CreateImageWizard/formComponents/Packages.js#L255
React Hook useEffect has a missing dependency: 'keydownHandler'. Either include it or remove the dependency array
tests (18.x): src/Components/CreateImageWizard/formComponents/Repositories.js#L257
React Hook useMemo has missing dependencies: 'data' and 'initializeRepositories'. Either include them or remove the dependency array
tests (18.x): src/Components/CreateImageWizard/formComponents/Repositories.js#L293
React Hook useMemo has a missing dependency: 'isRepoSelected'. Either include it or remove the dependency array
tests (18.x): 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