Fix empty content

This commit is contained in:
MartinBraquet
2025-09-12 02:10:19 +02:00
parent 9ae5f27c04
commit a7858d44bd

View File

@@ -215,6 +215,8 @@ function RichContent(props: {
}) {
const { className, content, size = 'md' } = props
if (!content) return null
const jsxContent = useMemo(() => {
try {
return generateReact(content, [