Typo: Update useHandlersForStatus to reference account.id in hooks.ts (#40281)

This commit is contained in:
Shlee
2026-08-28 15:06:48 +00:00
committed by GitHub
parent 6f49b98b24
commit b59ddc7924

View File

@@ -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,
});