fix: price formatting

feat/alby
Roland Bewick 2023-09-23 12:53:01 +07:00
parent 13597ada38
commit a76d1b02ef
1 changed files with 2 additions and 2 deletions

View File

@ -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>
)} )}
</> </>
); );