diff --git a/src/components/TopicDetail/TopicDetail.tsx b/src/components/TopicDetail/TopicDetail.tsx index f47f6d0d9..fa616a039 100644 --- a/src/components/TopicDetail/TopicDetail.tsx +++ b/src/components/TopicDetail/TopicDetail.tsx @@ -192,6 +192,8 @@ export function TopicDetail(props: TopicDetailProps) { const sanitizedMarkdown = sanitizeMarkdown( (response as RoadmapContentDocument).description || '', ); + + setHasContent(sanitizedMarkdown?.length > 0); topicHtml = markdownToHtml(sanitizedMarkdown, false); }