diff --git a/src/components/post/post.tsx b/src/components/post/post.tsx index de9d69da..0cdaf091 100644 --- a/src/components/post/post.tsx +++ b/src/components/post/post.tsx @@ -344,7 +344,7 @@ const ReplyDesktop = ({ reply, roles, openReplyModal }: PostProps) => { {isReplyingToReply && ( <> - {`c/${Plebbit.getShortCid(parentCid)}`} + {`c/${parentCid && Plebbit.getShortCid(parentCid)}`}
@@ -576,7 +576,7 @@ const ReplyMobile = ({ reply, roles, openReplyModal }: PostProps) => { {isReplyingToReply && ( <> - {`c/${Plebbit.getShortCid(parentCid)}`} + {`c/${parentCid && Plebbit.getShortCid(parentCid)}`}