diff --git a/packages/pl-fe/src/components/status-reply-mentions.tsx b/packages/pl-fe/src/components/status-reply-mentions.tsx index ce0900661..c6355a0d1 100644 --- a/packages/pl-fe/src/components/status-reply-mentions.tsx +++ b/packages/pl-fe/src/components/status-reply-mentions.tsx @@ -31,7 +31,7 @@ const StatusReplyMentions: React.FC = ({ status, hoverable // The post is a reply, but it has no mentions. // Rare, but it can happen. if (to.length === 0) { - return ( + const body = (
= ({ status, hoverable />
); + + if (hoverable) { + return ( + + + {body} + + + ); + } else { + return body; + } } // The typical case with a reply-to and a list of mentions. @@ -82,9 +98,9 @@ const StatusReplyMentions: React.FC = ({ status, hoverable accounts: , // @ts-ignore wtf? hover: (children: React.ReactNode) => { - if (hoverable && status.in_reply_to_id) { + if (hoverable) { return ( - +