fix: Format price display in ProductCard component

- Update the price formatting in ProductCard.vue to use `toLocaleString` to add thousand mark separators.
This commit is contained in:
padreug 2025-08-04 09:59:35 +02:00
parent c91e35ac50
commit e56dcb9e60

View file

@ -127,7 +127,7 @@ const handleImageError = () => {
const formatPrice = (price: number, currency: string) => {
if (currency === 'sat') {
return `${price} sats`
return `${price.toLocaleString('en-US')} sats`
}
return new Intl.NumberFormat('en-US', {
style: 'currency',