From 84a74d0ea5390d13849e80036177380f771862e6 Mon Sep 17 00:00:00 2001 From: TomekSetner Date: Wed, 8 Nov 2023 11:56:01 +0100 Subject: [PATCH] FRO-137: fix sdai supply apy --- .../SupplyAssetsList/SupplyAssetsListItem.tsx | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsListItem.tsx b/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsListItem.tsx index 05260f613..f8954811a 100644 --- a/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsListItem.tsx +++ b/src/modules/dashboard/lists/SupplyAssetsList/SupplyAssetsListItem.tsx @@ -1,6 +1,5 @@ import { Trans } from '@lingui/macro'; import { Button } from '@mui/material'; -import { useAppDataContext } from 'src/hooks/app-data-provider/useAppDataProvider'; import { useAssetCaps } from 'src/hooks/useAssetCaps'; import { useModalContext } from 'src/hooks/useModal'; import { useProtocolDataContext } from 'src/hooks/useProtocolDataContext'; @@ -33,7 +32,6 @@ export const SupplyAssetsListItem = ({ hideSupply, }: DashboardReserve) => { const { currentMarket } = useProtocolDataContext(); - const { dsr } = useAppDataContext(); const { openSupply, openPSMSwap } = useModalContext(); // Hide the asset to prevent it from being supplied if supply cap has been reached @@ -66,19 +64,7 @@ export const SupplyAssetsListItem = ({ } /> - - This is the Dai Savings Rate, and not the supply rate. You earn this automatically - when converting your DAI to sDAI. - - ) : null - } - > + {(symbol === 'ETH' || symbol === 'WETH') && }