diff --git a/app/javascript/mastodon/components/status/handled_link.tsx b/app/javascript/mastodon/components/status/handled_link.tsx index c9e8dde3844..ee41321283b 100644 --- a/app/javascript/mastodon/components/status/handled_link.tsx +++ b/app/javascript/mastodon/components/status/handled_link.tsx @@ -14,7 +14,6 @@ export const HandledLink: FC> = ({ text, hashtagAccountId, mentionAccountId, - key, ...props }) => { // Handle hashtags @@ -27,7 +26,6 @@ export const HandledLink: FC> = ({ to={`/tags/${hashtag}`} rel='tag' data-menu-hashtag={hashtagAccountId} - key={key} > #{hashtag} @@ -42,7 +40,6 @@ export const HandledLink: FC> = ({ to={`/@${mention}`} title={`@${mention}`} data-hover-card-account={mentionAccountId} - key={key} > @{mention} @@ -52,7 +49,7 @@ export const HandledLink: FC> = ({ // Non-absolute paths treated as internal links. if (href.startsWith('/')) { return ( - + {text} ); @@ -70,7 +67,6 @@ export const HandledLink: FC> = ({ target='_blank' rel='noreferrer noopener' translate='no' - key={key} > {url.protocol + '//'} {`${url.hostname}/${first ?? ''}`}