Skip to content

Commit 4e9a9a1

Browse files
Update component.tsx
1 parent 9bd23ef commit 4e9a9a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/image/component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export const Image: FunctionComponent<ImageProps> = ({ children, ...restOfAllPro
148148

149149
{!captionPassed && caption?.json ? (
150150
<figcaption>
151-
<ContentTransformer json={caption?.json} />
151+
<ContentTransformer json={caption.json} />
152152
</figcaption>
153153
) : (
154154
<figcaption>{captionString}</figcaption>

0 commit comments

Comments
 (0)