diff --git a/apps/marginfi-v2-ui/src/components/desktop/Earn/index.tsx b/apps/marginfi-v2-ui/src/components/desktop/Earn/index.tsx index af09114573..9ff36b8efb 100644 --- a/apps/marginfi-v2-ui/src/components/desktop/Earn/index.tsx +++ b/apps/marginfi-v2-ui/src/components/desktop/Earn/index.tsx @@ -209,26 +209,26 @@ const Earn = () => { return ( <> -
-
-
-
- {connected && ( -
- Your total deposits: - - { - // Since users will only be able to deposit to the LIP, - // the balance of their account should match total deposits. - } - {usdFormatter.format(lipAccount?.getTotalBalance().toNumber() || 0)} - -
- )} -
-
+
+
+
+ {connected && ( +
+ Your total deposits: + + { + // Since users will only be able to deposit to the LIP, + // the balance of their account should match total deposits. + } + {usdFormatter.format(lipAccount?.getTotalBalance().toNumber() || 0)} + +
+ )} +
+
+
{ }, }} /> -
- -
+
-
+
FUNDS WILL BE LOCKED FOR:
@@ -291,7 +289,7 @@ const Earn = () => {
- {lipAccount && ( + {lipAccount?.deposits.length > 0 && ( <>
Your deposits @@ -470,7 +468,7 @@ const AssetSelection: FC = ({ whitelistedCampaigns, setSele const defaultCampaign = whitelistedCampaigns[0]; return ( - + = ({ whitelistedCampaigns, setSele value={campaign.publicKey.toBase58()} control={ = ({ whitelistedCampaigns, setSele /> } label={ -
+
{getTokenSymbol(campaign.bank, bankMetadataMap || {})}
= ({ children, spinning, disabled, return connected ? (