mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-03-19 06:39:44 +01:00
Fix topic details not loading for custom roadmaps (#5762)
* Update AI example roadmaps * feat: add useful links to documentation on Rust web frameworks (#5756) Add Rust web framework doc links. --------- Co-authored-by: dsh <daniel.s.holdsworth@gmail.com> * Add links to readme.md (ios-roadmap, backend-questions) (#5758) Add iOS roadmap and backend questions to readme.md. * Fix content not shown for custom roadmaps * Update topic detail --------- Co-authored-by: Ruslan Semagin <53819609+pixel365@users.noreply.github.com> Co-authored-by: dsh <daniel.s.holdsworth@gmail.com> Co-authored-by: fellalli <fellalli@web.de>
This commit is contained in:
parent
e641f06823
commit
bfea73d372
@ -192,6 +192,8 @@ export function TopicDetail(props: TopicDetailProps) {
|
||||
const sanitizedMarkdown = sanitizeMarkdown(
|
||||
(response as RoadmapContentDocument).description || '',
|
||||
);
|
||||
|
||||
setHasContent(sanitizedMarkdown?.length > 0);
|
||||
topicHtml = markdownToHtml(sanitizedMarkdown, false);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user