Pool Overview redesign #1223
Triggered via pull request
September 16, 2024 19:59
Status
Failure
Total duration
1m 39s
Artifacts
–
dev-n-ffprod-deploys.yml
on: pull_request
deploy-development
/
...
/
build-app
deploy-development
/
...
/
build-faucet
deploy-development
/
...
/
build-onboarding-api
deploy-development
/
...
/
build-pinning-api
ff-prod
/
build-app
1m 25s
deploy-development
/
...
/
deploy-faucet
deploy-development
/
...
/
deploy-onboarding-api
deploy-development
/
...
/
deploy-pinning-api
deploy-development
/
...
/
notify
ff-prod
/
notify
0s
Annotations
2 errors and 11 warnings
ff-prod / build-app
Property 'investorType' is missing in type '{ id: string; createdAt: null; metadata: string; currency: CurrencyMetadata; tranches: { id: string; index: number; seniority: number; tokenPrice: Price; poolCurrency: CurrencyMetadata; ... 11 more ...; balance: TokenBalance; }[]; ... 4 more ...; value: CurrencyBalance; }' but required in type 'Omit<Pool, "fees">'.
|
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/Charts/PoolPerformanceChart.tsx#L148
React Hook React.useMemo has unnecessary dependencies: 'isSingleTranche' and 'todayPrice'. Either exclude them or remove the dependency array
|
ff-prod / build-app:
centrifuge-app/src/components/Charts/PoolPerformanceChart.tsx#L186
React Hook React.useMemo has an unnecessary dependency: 'selectedTabIndex'. Either exclude it or remove the dependency array
|
ff-prod / build-app:
centrifuge-app/src/components/Charts/PoolPerformanceChart.tsx#L479
Array.prototype.map() expects a return value from arrow function
|
ff-prod / build-app:
centrifuge-app/src/components/IssuerSection.tsx#L45
'cent' is assigned a value but never used
|
ff-prod / build-app:
centrifuge-app/src/components/PoolList.tsx#L54
React Hook React.useMemo has missing dependencies: 'cent' and 'centPoolsMetaDataById'. Either include them or remove the dependency array
|
ff-prod / build-app:
centrifuge-app/src/components/PoolOverview/KeyMetrics.tsx#L104
React Hook useMemo has a missing dependency: 'pool.currency.decimals'. Either include it or remove the dependency array
|
ff-prod / build-app:
centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L42
The 'columnConfig' array makes the dependencies of useMemo Hook (at line 87) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'columnConfig' in its own useMemo() Hook
|
ff-prod / build-app:
centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L114
'TrancheTokenCard' is assigned a value but never used
|
ff-prod / build-app:
centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L175
React Hook useMemo has a missing dependency: 'poolCurrencySymbol'. Either include it or remove the dependency array
|
ff-prod / build-app:
centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L177
'tableData' is assigned a value but never used
|