From 09c40e748e8db478b1ea3c53c601abdb580ce8cf Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 7 Jan 2026 23:29:26 +0100 Subject: [PATCH] Refactor Instagram post description display in EntryPage --- client/src/pages/EntryPage.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/client/src/pages/EntryPage.tsx b/client/src/pages/EntryPage.tsx index 87ee62e..10318f3 100644 --- a/client/src/pages/EntryPage.tsx +++ b/client/src/pages/EntryPage.tsx @@ -89,11 +89,11 @@ export default function EntryPage() { ) : (
)} -
-
- {ig.username ? ( - - {ig.username} +
+
+ {ig.username ? ( + + {ig.username} ) : ( Instagram @@ -101,7 +101,9 @@ export default function EntryPage() { {ig.full_name && ยท {ig.full_name}}
{postDate || ig.post_date || 'Date unknown'}
- {ig.description &&

{ig.description}

} + {ig.description && ( + + )}
)}