From 59a29ef3f1e2e75eaf6b55d8f5af93ea54c6dbe8 Mon Sep 17 00:00:00 2001 From: Jeff Sieu Date: Mon, 10 Oct 2022 17:50:46 +0800 Subject: [PATCH] [questions][ui] update comments icon --- apps/portal/src/components/questions/card/AnswerCard.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/portal/src/components/questions/card/AnswerCard.tsx b/apps/portal/src/components/questions/card/AnswerCard.tsx index e7e766c2..cf0b4676 100644 --- a/apps/portal/src/components/questions/card/AnswerCard.tsx +++ b/apps/portal/src/components/questions/card/AnswerCard.tsx @@ -1,5 +1,8 @@ import { format } from 'date-fns'; -import { ChatBubbleBottomCenterTextIcon } from '@heroicons/react/24/outline'; +import { + ChatBubbleBottomCenterTextIcon, + ChatBubbleLeftRightIcon, +} from '@heroicons/react/24/outline'; import type { VotingButtonsProps } from '../VotingButtons'; import VotingButtons from '../VotingButtons'; @@ -40,7 +43,7 @@ export default function AnswerCard({

{content}

{commentCount !== undefined && (
- +

{commentCount} {commentCount === 1 ? 'comment' : 'comments'}