fix: price formatting
parent
13597ada38
commit
a76d1b02ef
|
@ -13,10 +13,10 @@ export const Price = ({ price, currency, displayAlternateSymbol: displaySymbol =
|
||||||
currency: currency.toUpperCase(),
|
currency: currency.toUpperCase(),
|
||||||
}).format(price / 100.0)
|
}).format(price / 100.0)
|
||||||
) : (
|
) : (
|
||||||
<>
|
<div className="inline-flex items-center justify-center">
|
||||||
{displaySymbol && <SatSymbol className="h-4 w-4" />}
|
{displaySymbol && <SatSymbol className="h-4 w-4" />}
|
||||||
{price}
|
{price}
|
||||||
</>
|
</div>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue