From 95c420d6b757049f722bd6ced3ee5222eff71869 Mon Sep 17 00:00:00 2001 From: Silberengel Date: Wed, 29 Oct 2025 16:56:05 +0100 Subject: [PATCH] fix build --- src/components/Note/Article/index.tsx | 26 ++++++++++----------- src/components/Note/SimpleContent/index.tsx | 4 ++++ src/lib/discussion-topics.ts | 2 +- src/pages/primary/DiscussionsPage/index.tsx | 14 +++++------ src/providers/GroupListProvider.tsx | 4 +--- src/services/nip89.service.ts | 2 -- 6 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/components/Note/Article/index.tsx b/src/components/Note/Article/index.tsx index 3af8c49..ff9e360 100644 --- a/src/components/Note/Article/index.tsx +++ b/src/components/Note/Article/index.tsx @@ -167,7 +167,7 @@ export default function Article({ } return ( -
+
{/* Article metadata */}

{metadata.title}

{metadata.summary && ( @@ -184,10 +184,10 @@ export default function Article({ {/* Render AsciiDoc content (everything is now processed as AsciiDoc) */} -
+
{/* Collapsible Article Info - only for article-type events */} - {isArticleType && (parsedContent.media.length > 0 || parsedContent.links.length > 0 || parsedContent.nostrLinks.length > 0 || parsedContent.highlightSources.length > 0 || parsedContent.hashtags.length > 0) && ( + {isArticleType && (parsedContent?.media?.length > 0 || parsedContent?.links?.length > 0 || parsedContent?.nostrLinks?.length > 0 || parsedContent?.highlightSources?.length > 0 || parsedContent?.hashtags?.length > 0) && (