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()}` : '-'}