diff --git a/src/components/priceArea/index.tsx b/src/components/priceArea/index.tsx
index 85f1dd1b..d5db562d 100644
--- a/src/components/priceArea/index.tsx
+++ b/src/components/priceArea/index.tsx
@@ -56,10 +56,20 @@ const PriceArea = ({
};
const getErrorMessage = () => {
- if (0 < price && price <= purchasePrice - cancelFee) {
- return 지금 야놀자에서 취소하는 것보다 손해보는 가격이에요!;
+ if (policyNumber === "YNBD_1" || policyNumber === "YNBD_2") {
+ if (0 < price && price <= purchasePrice - cancelFee) {
+ return (
+ 지금 야놀자에서 취소하는 것보다 손해보는 가격이에요!
+ );
+ }
+ return;
+ } else if (policyNumber === "YNBD_3") {
+ if (0 < price && price < purchasePrice) {
+ return (
+ 지금 야놀자에서 취소하는 것보다 손해보는 가격이에요!
+ );
+ }
}
- return;
};
const getCommandMessage = () => {