From 6b483ced7cc6af61dc84b6b34cee988b7e20dc2e Mon Sep 17 00:00:00 2001 From: minbo Date: Tue, 25 Jun 2024 01:25:42 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../page-layout/myCouponLayout/components/Coupon/Coupon.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/page-layout/myCouponLayout/components/Coupon/Coupon.tsx b/src/components/page-layout/myCouponLayout/components/Coupon/Coupon.tsx index e969a9f..6e9a6ca 100644 --- a/src/components/page-layout/myCouponLayout/components/Coupon/Coupon.tsx +++ b/src/components/page-layout/myCouponLayout/components/Coupon/Coupon.tsx @@ -20,7 +20,7 @@ export default function Coupon({ data }: CouponProps) { return (
- {data.used &&
} + {data.used === 1 &&
}

{type} 쿠폰

@@ -29,11 +29,11 @@ export default function Coupon({ data }: CouponProps) {

ㆍID당 1회 사용가능

-

ㆍ유효기간 : {data.startDate}

+

ㆍ유효기간 : {data.startDate.split('T')[0]}

- {data.used && } + {data.used === 1 && }

C o u p o n