Small fixes #3682
Triggered via pull request
October 15, 2024 18:00
Status
Cancelled
Total duration
1m 29s
Artifacts
–
Annotations
2 errors and 2 warnings
build-app
Canceling since a higher priority waiting request for 'centrifuge-app-@centrifuge:small_fixes' exists
|
build-app
The operation was canceled.
|
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
|
build-app:
centrifuge-app/src/components/PoolCard/index.tsx#L163
The 'calculateApy' function makes the dependencies of useMemo Hook (at line 200) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'calculateApy' in its own useCallback() Hook
|