fix multiple bugs on mobile #20
Annotations
1 error and 4 warnings
Run ESLint
Process completed with exit code 1.
|
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/
|
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/
|
Run ESLint:
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
|
Run ESLint:
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
|
Loading