From 7d0c22cfb3bca85ddb1f7b806346d4caf3aec002 Mon Sep 17 00:00:00 2001 From: naji Date: Mon, 9 Sep 2024 00:04:13 +0900 Subject: [PATCH] fix: update number fomatting --- src/components/Card.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Card.js b/src/components/Card.js index 3ffbbd99..f60cf4d2 100644 --- a/src/components/Card.js +++ b/src/components/Card.js @@ -10,7 +10,9 @@ const Card = ({ product }) => { className={styles.productImg} />

{product.name}

-

{product.price}

+

+ {`${product.price.toLocaleString("ko-KR")}원`} +

하트 {product.favoriteCount}