From 5677250e39b1e0e5689af2790afc5bee5166f517 Mon Sep 17 00:00:00 2001 From: saml33 Date: Tue, 19 Sep 2023 08:14:01 +1000 Subject: [PATCH] hide swap free collateral warning --- components/swap/SellTokenInput.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/components/swap/SellTokenInput.tsx b/components/swap/SellTokenInput.tsx index 99bc240c..758f8df2 100644 --- a/components/swap/SellTokenInput.tsx +++ b/components/swap/SellTokenInput.tsx @@ -13,7 +13,6 @@ import { NUMBER_FORMAT_CLASSNAMES, withValueLimit } from './MarketSwapForm' import MaxSwapAmount from './MaxSwapAmount' import useUnownedAccount from 'hooks/useUnownedAccount' import InlineNotification from '@components/shared/InlineNotification' -import useMangoAccount from 'hooks/useMangoAccount' import { SwapFormTokenListType } from './SwapFormTokenList' import { useTokenMax } from './useTokenMax' @@ -33,7 +32,6 @@ const SellTokenInput = ({ isTriggerOrder?: boolean }) => { const { t } = useTranslation('common') - const { mangoAccountAddress } = useMangoAccount() const { group } = useMangoGroup() const { isUnownedAccount } = useUnownedAccount() const { @@ -90,7 +88,7 @@ const SellTokenInput = ({ ) : null} - {mangoAccountAddress ? ( + {/* {mangoAccountAddress ? (
- ) : null} + ) : null} */} {error ? (