fix: pool snapshots query #1460
Annotations
10 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c, actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. 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/InvestRedeem/InvestRedeemCentrifugeProvider.tsx#L100
React Hook React.useEffect has a missing dependency: 'connectedType'. Either include it or remove the dependency array
|
Lint:
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
|
Lint:
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
|
Lint:
centrifuge-app/src/components/PoolList.tsx#L45
'isLarge' is assigned a value but never used
|
Lint:
centrifuge-app/src/components/PoolList.tsx#L46
'isMedium' is assigned a value but never used
|
Lint:
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
|
Lint:
centrifuge-app/src/components/PoolOverview/TrancheTokenCards.tsx#L149
React Hook useMemo has a missing dependency: 'calculateApy'. Either include it or remove the dependency array
|
Lint:
centrifuge-app/src/components/Portfolio/Transactions.tsx#L47
'theme' is assigned a value but never used
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "webpack-ff-prod".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Loading