diff --git a/components/BeerById/CommentCard.tsx b/components/BeerById/CommentCard.tsx index 7d5712b..bd2cd4c 100644 --- a/components/BeerById/CommentCard.tsx +++ b/components/BeerById/CommentCard.tsx @@ -1,5 +1,6 @@ import { BeerCommentQueryResultT } from '@/services/BeerComment/schema/BeerCommentQueryResult'; -import { formatDistanceStrict } from 'date-fns'; +import { format, formatDistanceStrict } from 'date-fns'; +import Link from 'next/link'; import { useEffect, useState } from 'react'; import { Rating } from 'react-daisyui'; @@ -13,23 +14,38 @@ const CommentCard: React.FC<{ }, [comment.createdAt]); return ( -
{comment.content}