hide swap free collateral warning
This commit is contained in:
parent
2f8aeb7dc0
commit
5677250e39
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue