reduce clutter on markets page

This commit is contained in:
tjs 2022-04-03 23:54:54 -04:00
parent ca7bd49ef0
commit 9f0a4a04ea
1 changed files with 0 additions and 54 deletions

View File

@ -97,44 +97,6 @@ const MarketsTable = ({ isPerpMarket }) => {
/>
</LinkButton>
</Th>
<Th>
<LinkButton
className="flex items-center font-normal no-underline"
onClick={() => requestSort('low24h')}
>
<span className="font-normal text-th-fgd-3">
{t('daily-low')}
</span>
<ArrowSmDownIcon
className={`default-transition ml-1 h-4 w-4 flex-shrink-0 ${
sortConfig?.key === 'low24h'
? sortConfig.direction === 'ascending'
? 'rotate-180 transform'
: 'rotate-360 transform'
: null
}`}
/>
</LinkButton>
</Th>
<Th>
<LinkButton
className="flex items-center font-normal no-underline"
onClick={() => requestSort('high24h')}
>
<span className="font-normal text-th-fgd-3">
{t('daily-high')}
</span>
<ArrowSmDownIcon
className={`default-transition ml-1 h-4 w-4 flex-shrink-0 ${
sortConfig?.key === 'high24h'
? sortConfig.direction === 'ascending'
? 'rotate-180 transform'
: 'rotate-360 transform'
: null
}`}
/>
</LinkButton>
</Th>
<Th>
<LinkButton
className="flex items-center font-normal no-underline"
@ -207,9 +169,7 @@ const MarketsTable = ({ isPerpMarket }) => {
baseSymbol,
change24h,
funding1h,
high24h,
last,
low24h,
name,
openInterest,
openInterestUsd,
@ -255,20 +215,6 @@ const MarketsTable = ({ isPerpMarket }) => {
)}
</span>
</Td>
<Td>
{low24h ? (
formatUsdValue(low24h)
) : (
<span className="text-th-fgd-4">Unavailable</span>
)}
</Td>
<Td>
{high24h ? (
formatUsdValue(high24h)
) : (
<span className="text-th-fgd-4">Unavailable</span>
)}
</Td>
<Td>
{volumeUsd24h ? (
usdFormatter(volumeUsd24h, 0)