From e56dcb9e60cdd13e39ae3442cbc7f6f4f121c272 Mon Sep 17 00:00:00 2001 From: padreug Date: Mon, 4 Aug 2025 09:59:35 +0200 Subject: [PATCH] fix: Format price display in ProductCard component - Update the price formatting in ProductCard.vue to use `toLocaleString` to add thousand mark separators. --- src/components/market/ProductCard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/market/ProductCard.vue b/src/components/market/ProductCard.vue index ea585a6..aaf8c13 100644 --- a/src/components/market/ProductCard.vue +++ b/src/components/market/ProductCard.vue @@ -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',