Skip to content

Assets page redesign #1452

Assets page redesign

Assets page redesign #1452

Triggered via pull request October 30, 2024 15:56
Status Failure
Total duration 1m 12s
Artifacts

dev-n-ffprod-deploys.yml

on: pull_request
deploy-development  /  ...  /  build-app
deploy-development / webapp / build-app
deploy-development  /  ...  /  build-faucet
deploy-development / faucet / build-faucet
deploy-development  /  ...  /  build-onboarding-api
deploy-development / onboarding / build-onboarding-api
deploy-development  /  ...  /  build-pinning-api
deploy-development / pinning / build-pinning-api
ff-prod  /  build-app
58s
ff-prod / build-app
deploy-development  /  ...  /  deploy-app
deploy-development / webapp / deploy-app
deploy-development  /  ...  /  deploy-faucet
deploy-development / faucet / deploy-faucet
deploy-development  /  ...  /  deploy-onboarding-api
deploy-development / onboarding / deploy-onboarding-api
deploy-development  /  ...  /  deploy-pinning-api
deploy-development / pinning / deploy-pinning-api
ff-prod  /  deploy-app
0s
ff-prod / deploy-app
deploy-development  /  ...  /  notify
deploy-development / webapp / notify
ff-prod  /  notify
0s
ff-prod / notify
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
ff-prod / build-app: centrifuge-app/src/components/LoanList.tsx#L369
React Hook "usePool" is called in function "getAmount" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
ff-prod / build-app
Process completed with exit code 1.
ff-prod / build-app
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c, actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ff-prod / build-app: centrifuge-app/src/components/InvestRedeem/InvestRedeemCentrifugeProvider.tsx#L100
React Hook React.useEffect has a missing dependency: 'connectedType'. Either include it or remove the dependency array
ff-prod / build-app: centrifuge-app/src/components/InvestRedeem/InvestRedeemDrawer.tsx#L77
React Hook React.useMemo has a missing dependency: 'pool.currency.decimals'. Either include it or remove the dependency array
ff-prod / build-app: centrifuge-app/src/components/LoanList.tsx#L100
React Hook React.useMemo has an unnecessary dependency: 'isTinlakePool'. Either exclude it or remove the dependency array
ff-prod / build-app: centrifuge-app/src/components/LoanList.tsx#L258
React Hook React.useMemo has an unnecessary dependency: 'pool.currency'. Either exclude it or remove the dependency array
ff-prod / build-app: centrifuge-app/src/components/PoolCard/index.tsx#L164
The 'calculateApy' function makes the dependencies of useMemo Hook (at line 202) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'calculateApy' in its own useCallback() Hook
ff-prod / build-app: centrifuge-app/src/components/PoolList.tsx#L45
'isLarge' is assigned a value but never used
ff-prod / build-app: centrifuge-app/src/components/PoolList.tsx#L46
'isMedium' is assigned a value but never used
ff-prod / build-app: centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L135
React Hook useMemo has a missing dependency: 'pool?.currency.symbol'. Either include it or remove the dependency array
ff-prod / build-app: centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L149
React Hook useMemo has a missing dependency: 'calculateApy'. Either include it or remove the dependency array
ff-prod / build-app: centrifuge-app/src/components/Portfolio/Transactions.tsx#L47
'theme' is assigned a value but never used