Connect, collaborate, and grow with a community of TypeScript developers
fix: use flag for report comment icon (#792)
Eric Leecdf78843435b
diff --git a/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx b/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsxindex 6ec515a6..e06bc957 100644--- a/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx+++ b/apps/web/src/app/[locale]/challenge/_components/comments/comment.tsx@@ -10,6 +10,7 @@ import {ChevronDown,ChevronUp,Calendar,+ Flag,Pencil,Reply,Share,@@ -490,7 +491,7 @@ function SingleComment({<TooltipTrigger asChild><ReportDialog triggerAsChild commentId={comment.id} reportType="COMMENT"><Button variant="secondary" size="xs">- <span className="hidden text-[0.8rem] sm:block">Flag</span>+ <Flag className="h-3 w-3" /><span className="sr-only">Report this comment</span></Button></ReportDialog>