diff --git a/src/components/reply-modal/reply-modal.tsx b/src/components/reply-modal/reply-modal.tsx index eca63e6d..4ca4c2b6 100644 --- a/src/components/reply-modal/reply-modal.tsx +++ b/src/components/reply-modal/reply-modal.tsx @@ -178,7 +178,7 @@ const ReplyModal = ({ closeModal, showReplyModal, parentCid, postCid, scrollY, s } }, []); - const contentPrefix = `>>${parentCid && Plebbit.getShortCid(parentCid)}\n`; + const contentPrefix = `>>${parentCid && Plebbit.getShortCid({ cid: parentCid })}\n`; // enable spellcheck after the prefix is set useEffect(() => { @@ -259,7 +259,7 @@ const ReplyModal = ({ closeModal, showReplyModal, parentCid, postCid, scrollY, s }} >