diff --git a/app/javascript/mastodon/components/status/hooks.ts b/app/javascript/mastodon/components/status/hooks.ts index 893f22b98c2..4e6fa32e52f 100644 --- a/app/javascript/mastodon/components/status/hooks.ts +++ b/app/javascript/mastodon/components/status/hooks.ts @@ -282,9 +282,7 @@ export function useHandlersForStatus( ); return useElementHandledLink({ hashtagAccountId: - typeof status?.account === 'string' - ? status.account - : status?.account.acct, + typeof status?.account === 'string' ? status.account : status?.account.id, hrefToCollectionId, hrefToMention, });