Skip to content

Commit

Permalink
feat/#511: 0살이면 1살 미만으로 뜨도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
HyeryongChoi committed Oct 19, 2023
1 parent 34dc8e1 commit f6e8ec0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/Review/ReviewItem/ReviewItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -79,7 +80,7 @@ const ReviewItem = (reviewItemProps: ReviewItemProps) => {
<InfoContainer>
<ReviewerName>{petName}</ReviewerName>
<InfoDetail>
{breedName} / {writtenAge}
{breedName} / {getPetAge(writtenAge)}
</InfoDetail>
<InfoDetail>
{sizeName} / {writtenWeight}kg
Expand Down

0 comments on commit f6e8ec0

Please sign in to comment.