Skip to content

Update react, react-router #1000

Update react, react-router

Update react, react-router #1000

Triggered via pull request July 10, 2024 09:08
Status Failure
Total duration 3m 56s
Artifacts

ci-pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 8 warnings
Linting: src/containers/Deposit/DepositFunds.tsx#L76
Unexpected use of 'history'
Linting: src/containers/Earn/EarnDetails.tsx#L51
Unexpected use of 'history'
Linting
Process completed with exit code 1.
Linting
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Linting: src/containers/Deposit/DepositFunds.tsx#L76
React Hook useEffect has a missing dependency: 'navigate'. Either include it or remove the dependency array. Outer scope values like 'history' aren't valid dependencies because mutating them doesn't re-render the component
Linting: src/containers/Earn/EarnBlock.tsx#L2
'formatWithCommas' is defined but never used
Linting: src/containers/Earn/EarnBlock.tsx#L2
'getTokenLogo' is defined but never used
Linting: src/containers/Earn/EarnDetails.tsx#L51
React Hook useCallback has a missing dependency: 'navigate'. Either include it or remove the dependency array. Outer scope values like 'history' aren't valid dependencies because mutating them doesn't re-render the component
Linting: src/containers/Vaults/VaultDetails.tsx#L115
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
Formatting
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Quality Assurance
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/