Allow margin swapping with no sell asset (#412)
This commit is contained in:
parent
e3b126b2f7
commit
3c128e90f9
@ -1,6 +1,6 @@
|
||||
import { HTMLAttributes, useMemo } from 'react'
|
||||
|
||||
import classNames from 'classnames'
|
||||
|
||||
import Accordion from 'components/Accordion'
|
||||
import AccountBalancesTable from 'components/Account/AccountBalancesTable'
|
||||
import AccountComposition from 'components/Account/AccountComposition'
|
||||
|
@ -29,7 +29,7 @@ function InputOverlay({ max, value, marginThreshold }: Props) {
|
||||
{Array.from(Array(9).keys()).map((i) => (
|
||||
<div key={`mark-${i}`} className={className.mark} />
|
||||
))}
|
||||
{marginThreshold && (
|
||||
{marginThreshold !== undefined && (
|
||||
<div
|
||||
key='margin-mark'
|
||||
className={className.marginMarkContainer}
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user