Pool Overview redesign #1223
Annotations
2 errors and 11 warnings
Build centrifuge-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 centrifuge-app
Process completed with exit code 1.
|
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/
|
Lint:
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
|
Lint:
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
|
Lint:
centrifuge-app/src/components/Charts/PoolPerformanceChart.tsx#L479
Array.prototype.map() expects a return value from arrow function
|
Lint:
centrifuge-app/src/components/IssuerSection.tsx#L45
'cent' is assigned a value but never used
|
Lint:
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
|
Lint:
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
|
Lint:
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
|
Lint:
centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L114
'TrancheTokenCard' is assigned a value but never used
|
Lint:
centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L175
React Hook useMemo has a missing dependency: 'poolCurrencySymbol'. Either include it or remove the dependency array
|
Lint:
centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L177
'tableData' is assigned a value but never used
|
Loading