diff --git a/src/components/Account/AccountFund.tsx b/src/components/Account/AccountFund.tsx index 59eaf26b..d9cee9f6 100644 --- a/src/components/Account/AccountFund.tsx +++ b/src/components/Account/AccountFund.tsx @@ -130,6 +130,7 @@ export default function AccountFund() { max={BN(balance)} balances={walletBalances} maxText='Max' + disabled={isFunding} /> ) @@ -142,6 +143,7 @@ export default function AccountFund() { rightIcon={} iconClassName='w-3' onClick={handleSelectAssetsClick} + disabled={isFunding} /> - -
- Receive funds to Wallet - - Your borrowed funds will directly go to your wallet - -
-
- -
+ {!isRepay && ( + <> + +
+ Receive funds to Wallet + + Your borrowed funds will directly go to your wallet + +
+
+ +
+ + )}