From 528071ec4d7f5f100c5c23bed064af3b924b12a6 Mon Sep 17 00:00:00 2001 From: Devesh S Date: Thu, 23 Jul 2026 14:16:48 +0530 Subject: [PATCH] ui: remove duplicate description text in one-line Q&A cards --- src/pages/Community/Community.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/Community/Community.tsx b/src/pages/Community/Community.tsx index 53a2dcc..02d86e1 100644 --- a/src/pages/Community/Community.tsx +++ b/src/pages/Community/Community.tsx @@ -495,10 +495,12 @@ export default function Community() { {q.title} -

- {q.body} -

+ {q.body && q.body.trim() !== q.title.trim() && ( +

+ {q.body} +

+ )}
{/* Left side: Replies & Likes & Tags inline */}