mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-10 19:26:03 +02:00
Fix content not shown for custom roadmaps
This commit is contained in:
@@ -187,6 +187,7 @@ export function TopicDetail(props: TopicDetailProps) {
|
||||
} else {
|
||||
setLinks((response as RoadmapContentDocument)?.links || []);
|
||||
setTopicTitle((response as RoadmapContentDocument)?.title || '');
|
||||
setHasContent(true);
|
||||
|
||||
const sanitizedMarkdown = sanitizeMarkdown(
|
||||
(response as RoadmapContentDocument).description || '',
|
||||
|
Reference in New Issue
Block a user