From 30dcac9d36011251acce8ac9e21d2005ced54930 Mon Sep 17 00:00:00 2001 From: l2juhan Date: Fri, 19 Dec 2025 16:58:53 +0900 Subject: [PATCH 1/3] =?UTF-8?q?ngrok-skip-broswer-warning:true=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/common.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/common.js b/src/api/common.js index a67f201..2ab3400 100644 --- a/src/api/common.js +++ b/src/api/common.js @@ -53,6 +53,7 @@ async function authorizedFetch(method, url, options = {}) { const headers = { 'Content-Type': 'application/json', 'Accept': 'application/json', + 'ngrok-skip-browser-warning': 'true', ...options.headers, }; if (accessToken) { From a7f9245a180a803881ed726aa5b553acd2d74da2 Mon Sep 17 00:00:00 2001 From: l2juhan Date: Fri, 19 Dec 2025 17:15:00 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=EC=B6=94=EC=B2=9C=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20=EB=8B=89=EB=84=A4=EC=9E=84=20=EC=B6=9C=EB=A0=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MainPage/components/RecommendTab.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/MainPage/components/RecommendTab.jsx b/src/pages/MainPage/components/RecommendTab.jsx index fec7059..5d990c2 100644 --- a/src/pages/MainPage/components/RecommendTab.jsx +++ b/src/pages/MainPage/components/RecommendTab.jsx @@ -21,7 +21,7 @@ function RecommendTab() { const mapped = list.map((item) => ({ id: item.id, image: item.image || null, // 이미지 없으면 빈 자리 유지 - sellerName: item.seller_id ? `판매자 ${item.seller_id}` : "", + sellerName: item.seller_nickname ? `${item.seller_nickname}` : "", description: item.title || "", price: item.price || 0, })); From 70d62151d34db6855d4106d6bfd2ad7b4b26845b Mon Sep 17 00:00:00 2001 From: l2juhan Date: Fri, 19 Dec 2025 17:17:57 +0900 Subject: [PATCH 3/3] =?UTF-8?q?=EC=84=B8=EC=9D=BC=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=20UI=20=EB=B9=97=EA=B8=88=EC=B9=9C=20=EA=B0=80?= =?UTF-8?q?=EA=B2=A9=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/MainPage/components/ProductCard.jsx | 20 ++++++------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/src/pages/MainPage/components/ProductCard.jsx b/src/pages/MainPage/components/ProductCard.jsx index fbb7e00..ac77eac 100644 --- a/src/pages/MainPage/components/ProductCard.jsx +++ b/src/pages/MainPage/components/ProductCard.jsx @@ -30,9 +30,8 @@ function ProductCard({ item, hidePrice = false, originalPrice, discountRate }) { return (
{/* 순위 아이콘 (rank가 있을 때만 표시) */} {item?.rank && ( @@ -65,17 +64,10 @@ function ProductCard({ item, hidePrice = false, originalPrice, discountRate }) { {item?.price ? `${formatPrice(item.price)}원` : ""}

)} - {hidePrice && originalPrice && ( - <> -

- {formatPrice(originalPrice)}원 -

- {discountRate !== undefined && item?.price && ( -

- {discountRate}% {formatPrice(item.price)}원 -

- )} - + {hidePrice && discountRate !== undefined && item?.price && ( +

+ {discountRate}% {formatPrice(item.price)}원 +

)}