From f6e8ec053a00ed6e051038bc9674885fed46e174 Mon Sep 17 00:00:00 2001 From: chex Date: Thu, 19 Oct 2023 19:25:53 +0900 Subject: [PATCH] =?UTF-8?q?feat/#511:=200=EC=82=B4=EC=9D=B4=EB=A9=B4=201?= =?UTF-8?q?=EC=82=B4=20=EB=AF=B8=EB=A7=8C=EC=9C=BC=EB=A1=9C=20=EB=9C=A8?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Review/ReviewItem/ReviewItem.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/Review/ReviewItem/ReviewItem.tsx b/frontend/src/components/Review/ReviewItem/ReviewItem.tsx index 5239e419..7b231d58 100644 --- a/frontend/src/components/Review/ReviewItem/ReviewItem.tsx +++ b/frontend/src/components/Review/ReviewItem/ReviewItem.tsx @@ -7,6 +7,7 @@ import ReactedIcon from '@/assets/svg/reacted_icon.svg'; import UnReactedIcon from '@/assets/svg/un_reacted_icon.svg'; import StarRatingDisplay from '@/components/@common/StarRating/StarRatingDisplay/StartRatingDisplay'; import SuspendedImg from '@/components/@common/SuspendedImg/SuspendedImg'; +import { getPetAge } from '@/components/PetProfile/PetItem'; import { COMMENT_VISIBLE_LINE_LIMIT, REACTIONS } from '@/constants/review'; import { useValidParams } from '@/hooks/@common/useValidParams'; import { useCheckAuth } from '@/hooks/auth'; @@ -79,7 +80,7 @@ const ReviewItem = (reviewItemProps: ReviewItemProps) => { {petName} - {breedName} / {writtenAge}살 + {breedName} / {getPetAge(writtenAge)} {sizeName} / {writtenWeight}kg