diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx index 13ba1ffe..200307e4 100644 --- a/src/components/views/Board.jsx +++ b/src/components/views/Board.jsx @@ -767,6 +767,7 @@ const Board = () => { {renderedComments?.map((reply) => { const replyMediaInfo = getCommentMediaInfo(reply); + const shortParentCid = findShortParentCid(reply.parentCid, selectedFeed); return (
@@ -851,6 +852,9 @@ const Board = () => { :
+ {}}> + {`c/${shortParentCid}`}{
} +
) : null} diff --git a/src/components/views/Thread.jsx b/src/components/views/Thread.jsx index d4414167..10b63413 100644 --- a/src/components/views/Thread.jsx +++ b/src/components/views/Thread.jsx @@ -721,6 +721,7 @@ const Thread = () => { {comment.replyCount === undefined ? : null} {comment.replyCount > 0 && renderedComments.map((reply) => { + const shortParentCid = findShortParentCid(reply.parentCid, comment); return (
@@ -760,6 +761,10 @@ const Thread = () => {
+ {}} key={`mob-ql-${reply.cid}`} className="quotelink-mobile" + onClick={(event) => handleQuoteClick(reply, event)}> + {`c/${shortParentCid}`}{
} +
{reply.replyCount > 0 ? (