mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-03-19 06:39:44 +01:00
Fix content not shown for custom roadmaps
This commit is contained in:
parent
0c32730424
commit
e641f06823
@ -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 || '',
|
||||
|
Loading…
x
Reference in New Issue
Block a user