Skip to content

Pool Overview redesign #3566

Pool Overview redesign

Pool Overview redesign #3566

Triggered via pull request September 13, 2024 19:52
Status Failure
Total duration 1m 49s
Artifacts

centrifuge-app.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
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">'.
build-app
Process completed with exit code 1.
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/
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
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
build-app: centrifuge-app/src/components/Charts/PoolPerformanceChart.tsx#L479
Array.prototype.map() expects a return value from arrow function
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
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
build-app: centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L74
React Hook useMemo has a missing dependency: 'calculateApy'. Either include it or remove the dependency array
build-app: centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L102
'TrancheTokenCard' is assigned a value but never used
build-app: centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L163
React Hook useMemo has a missing dependency: 'poolCurrencySymbol'. Either include it or remove the dependency array
build-app: centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L165
'tableData' is assigned a value but never used
build-app: centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L167
'data' is assigned a value but never used