Skip to content

Commit

Permalink
Merge pull request Yanabada#264 from Yanabada/feature/Yanabada#263
Browse files Browse the repository at this point in the history
Fix: 문구수정
  • Loading branch information
furaha707 authored Feb 23, 2024
2 parents 3a28c4c + c542b64 commit d9cc27f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/priceArea/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,10 @@ const PriceArea = ({
return (
<S.ErrorMessage>지금 야놀자에서 취소하는 것보다 손해보는 가격이에요!</S.ErrorMessage>
);
} else if (purchasePrice <= price) {
return <S.ErrorMessage>실 구매가보다 낮은 금액으로만 판매 가능해요.</S.ErrorMessage>;
}
return;
} else if (policyNumber === "YNBD_3") {
if (0 < price && price < purchasePrice) {
return (
<S.ErrorMessage>지금 야놀자에서 취소하는 것보다 손해보는 가격이에요!</S.ErrorMessage>
);
}
}
};

Expand Down

0 comments on commit d9cc27f

Please sign in to comment.