Skip to content

Commit c1a85b5

Browse files
committed
Add checking for src
1 parent 0836c0e commit c1a85b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/post-body.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const PostBody = ({ content }: Props) => {
1616
components={{
1717
img: (props) => (
1818
<Image
19-
src={props.src && props.src}
19+
src={props.src!}
2020
alt={props.alt}
2121
width={props.width}
2222
height={props.height}

0 commit comments

Comments
 (0)