Update topic detail

pull/5763/head
Kamran Ahmed 6 months ago
parent bfea73d372
commit 7dc6135416
  1. 1
      src/components/TopicDetail/TopicDetail.tsx

@ -187,7 +187,6 @@ export function TopicDetail(props: TopicDetailProps) {
} else { } else {
setLinks((response as RoadmapContentDocument)?.links || []); setLinks((response as RoadmapContentDocument)?.links || []);
setTopicTitle((response as RoadmapContentDocument)?.title || ''); setTopicTitle((response as RoadmapContentDocument)?.title || '');
setHasContent(true);
const sanitizedMarkdown = sanitizeMarkdown( const sanitizedMarkdown = sanitizeMarkdown(
(response as RoadmapContentDocument).description || '', (response as RoadmapContentDocument).description || '',

Loading…
Cancel
Save