hide swap free collateral warning

This commit is contained in:
saml33 2023-09-19 08:14:01 +10:00
parent 2f8aeb7dc0
commit 5677250e39
1 changed files with 2 additions and 4 deletions

View File

@ -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 = ({
</span>
) : null}
</div>
{mangoAccountAddress ? (
{/* {mangoAccountAddress ? (
<div className="col-span-2 mt-1 flex justify-center">
<InlineNotification
type="warning"
@ -99,7 +97,7 @@ const SellTokenInput = ({
hidePadding
/>
</div>
) : null}
) : null} */}
{error ? (
<div className="col-span-2 mt-1 flex justify-center">
<InlineNotification