From 860925ec3e80d1521c53664d43cd9414bbae7699 Mon Sep 17 00:00:00 2001 From: yzooop Date: Mon, 30 Sep 2024 22:39:34 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20:=20css=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Component/Game/TradeChoice.tsx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/Component/Game/TradeChoice.tsx b/src/Component/Game/TradeChoice.tsx index c30b4ac..0873682 100644 --- a/src/Component/Game/TradeChoice.tsx +++ b/src/Component/Game/TradeChoice.tsx @@ -33,7 +33,7 @@ const TradeChoice = ({ const handleClick = () => { setIsSelected(true); }; - console.log(currentPrice); + // console.log(currentPrice); const handleOutsideClick = (e: MouseEvent) => { if ( @@ -107,15 +107,6 @@ const TradeChoice = ({ {choiceRight} - - {/* 가격 정보 표시 */} - {/* {currentPrice ? ( - - {formatPrice(currentPrice)}원 - - ) : ( -
가격 정보 없음
// 혹은 기본값으로 처리 - )} */} )} @@ -263,6 +254,7 @@ const MaxPurchaseBtn = styled.button<{ isSelected: boolean }>` props.isSelected ? "2.5px solid #615EFC" : "1px solid #f0f0f0"}; background-color: ${(props) => (props.isSelected ? "#615EFC" : "#f0f0f0")}; color: ${(props) => (props.isSelected ? "white" : "black")}; + border: 2px solid #615efc; `; export default TradeChoice;