Fix content not shown for custom roadmaps
This commit is contained in:
1 parent
0c32730424
commit
e641f06823
1 file changed
+1
@@ -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