Skip to content

fix multiple bugs on mobile #20

fix multiple bugs on mobile

fix multiple bugs on mobile #20

Triggered via pull request November 21, 2024 13:33
Status Failure
Total duration 28s
Artifacts

eslint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: web/src/main/javascript/src/components/SearchBar/SearchBar.tsx#L315
React Hook useCallback has unnecessary dependencies: 'cancerTypeResults' and 'cancerTypeResultsIndex'. Either exclude them or remove the dependency array. Outer scope values like 'cancerTypeResults' aren't valid dependencies because mutating them doesn't re-render the component
build: web/src/main/javascript/src/components/SearchBar/SearchBar.tsx#L331
React Hook useCallback has unnecessary dependencies: 'cancerTypeResults' and 'cancerTypeResultsIndex'. Either exclude them or remove the dependency array. Outer scope values like 'cancerTypeResults' aren't valid dependencies because mutating them doesn't re-render the component