From 0400b0ae50b4afa56abdd100545097827d4e2e53 Mon Sep 17 00:00:00 2001 From: hun Date: Thu, 12 Feb 2026 23:13:00 +0900 Subject: [PATCH] =?UTF-8?q?design:=20=EC=9B=90=ED=99=94=20=ED=91=9C?= =?UTF-8?q?=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Lifestyle/DeviceSummaryCard.tsx | 8 +------- src/components/RecentlyViewed/RecentlyViewedCard.tsx | 8 +------- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/components/Lifestyle/DeviceSummaryCard.tsx b/src/components/Lifestyle/DeviceSummaryCard.tsx index 7ca553f..6d9a4cf 100644 --- a/src/components/Lifestyle/DeviceSummaryCard.tsx +++ b/src/components/Lifestyle/DeviceSummaryCard.tsx @@ -27,13 +27,7 @@ const DeviceSummaryCard = ({ device }: Props) => { {device?.releaseDate ?? '-'}

- {device?.price != null - ? new Intl.NumberFormat('ko-KR', { - style: 'currency', - currency: 'KRW', - maximumFractionDigits: 0, - }).format(device.price) - : '-'} + {device?.price != null ? `₩ ${device.price.toLocaleString()}` : '-'}

diff --git a/src/components/RecentlyViewed/RecentlyViewedCard.tsx b/src/components/RecentlyViewed/RecentlyViewedCard.tsx index 7ac255d..b2ab22c 100644 --- a/src/components/RecentlyViewed/RecentlyViewedCard.tsx +++ b/src/components/RecentlyViewed/RecentlyViewedCard.tsx @@ -34,13 +34,7 @@ const RecentlyViewedCard = ({ device, onClick, className }: RecentlyViewedCardPr {/* 가격 - 16px, SemiBold */}

- {device.priceKrw != null - ? new Intl.NumberFormat('ko-KR', { - style: 'currency', - currency: 'KRW', - maximumFractionDigits: 0, - }).format(device.priceKrw) - : '-'} + {device.priceKrw != null ? `₩ ${device.priceKrw.toLocaleString()}` : '-'}