diff --git a/src/components/atoms/figure/figure.tsx b/src/components/atoms/figure/figure.tsx index d761e26c0..dfaed4d35 100644 --- a/src/components/atoms/figure/figure.tsx +++ b/src/components/atoms/figure/figure.tsx @@ -35,7 +35,7 @@ export const Figure = ({ return (
- {label && } + {label &&

{label}

} {content} {caption &&
{caption}
}
diff --git a/src/utils/content-to-jsx.tsx b/src/utils/content-to-jsx.tsx index ffb5dc456..d52651d79 100644 --- a/src/utils/content-to-jsx.tsx +++ b/src/utils/content-to-jsx.tsx @@ -82,7 +82,7 @@ export const contentToJsx = (content?: Content, options?: Options, index?: numbe case 'Date': return ; case 'Figure': - return
; + return
; case 'ImageObject': if (!content.contentUrl) { return '';