Skip to content

Commit

Permalink
Merge pull request #250 from 100-hours-a-week/feature/veronica
Browse files Browse the repository at this point in the history
Fix : css 수정
  • Loading branch information
lucy726j authored Sep 30, 2024
2 parents 12a4557 + 860925e commit 37e78cd
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/Component/Game/TradeChoice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const TradeChoice = ({
const handleClick = () => {
setIsSelected(true);
};
console.log(currentPrice);
// console.log(currentPrice);

const handleOutsideClick = (e: MouseEvent) => {
if (
Expand Down Expand Up @@ -107,15 +107,6 @@ const TradeChoice = ({
{choiceRight}
</ChoiceButton>
</ChoiceSection>

{/* 가격 정보 표시 */}
{/* {currentPrice ? (
<CurrentPrice isSelected={isSelected}>
{formatPrice(currentPrice)}원
</CurrentPrice>
) : (
<div>가격 정보 없음</div> // 혹은 기본값으로 처리
)} */}
</div>
</>
)}
Expand Down Expand Up @@ -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;

0 comments on commit 37e78cd

Please sign in to comment.