fix(dashboard): pass content as children to ReactMarkdown
Self-closing <ReactMarkdown /> renders nothing — need children. 小橘 <xiaoju@shazhou.work>
This commit is contained in:
@@ -100,8 +100,9 @@ export function Markdown({ content }: { content: string }) {
|
|||||||
</blockquote>
|
</blockquote>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
}}
|
}}>
|
||||||
/>
|
{content}
|
||||||
|
</ReactMarkdown>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user