chore: redesign market header

This commit is contained in:
maciek
2023-10-04 13:58:54 +02:00
parent 7d72bddcaa
commit c8f09287ec
@@ -43,8 +43,6 @@ export const MarketHeaderStats = ({ market }: MarketHeaderStatsProps) => {
return (
<div className="flex gap-8">
<HeaderStat heading={t('Mark Price')} testId="market-price">
market.decimalPlaces: {market.decimalPlaces}
<br />
<MarketMarkPrice
marketId={market.id}
decimalPlaces={market.decimalPlaces}
@@ -117,7 +115,6 @@ export const MarketHeaderStats = ({ market }: MarketHeaderStatsProps) => {
'Perpetual' && (
<HeaderStat heading={`${t('Index Price')}`} testId="index-price">
<div className="flex justify-between gap-2">
market.decimalPlaces: {market.decimalPlaces}
<IndexPrice
marketId={market.id}
decimalPlaces={market.decimalPlaces}