chore: add sats suffix for BTC price

feat/alby
Roland Bewick 2023-09-26 14:02:58 +07:00
parent 8ed7ffd4fc
commit d2b2af71b1
2 changed files with 6 additions and 2 deletions

View File

@ -22,7 +22,7 @@ export function AlbyPriceComponent({ displaySymbol, price }: AlbyPriceComponentP
<Tooltip content={fiatValue}>
<div className="inline-flex items-center justify-center">
{displaySymbol && <SatSymbol className="h-4 w-4" />}
{price}
{price}&nbsp;sats
</div>
</Tooltip>
);

View File

@ -130,7 +130,11 @@ const PaymentPage: FC<PaymentPageProps> = (props) => {
{props.payment.paymentOption === "HOLD" ? t("no_show_fee") : t("price")}
</div>
<div className="col-span-2 mb-6 font-semibold">
<Price currency={paymentAppData.currency} price={paymentAppData.price} />
<Price
currency={paymentAppData.currency}
price={paymentAppData.price}
displayAlternateSymbol={false}
/>
</div>
</div>
</div>