From c2e9dc0efedf409bdafdc5db64cfd2b58224b079 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 21 Feb 2023 14:29:25 +0800 Subject: [PATCH] Use url, not uri --- src/components/status.jsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index d32fd7df..536c1fcb 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -79,7 +79,7 @@ function Status({ avatar, avatarStatic, id: accountId, - url, + url: accountURL, displayName, username, emojis: accountEmojis, @@ -108,6 +108,7 @@ function Status({ mediaAttachments, reblog, uri, + url, emojis, // Non-API props _deleted, @@ -128,7 +129,7 @@ function Status({ (mention) => mention.id === inReplyToAccountId, ); if (!inReplyToAccountRef && inReplyToAccountId === id) { - inReplyToAccountRef = { url, username, displayName }; + inReplyToAccountRef = { url: accountURL, username, displayName }; } const [inReplyToAccount, setInReplyToAccount] = useState(inReplyToAccountRef); if (!withinContext && !inReplyToAccount && inReplyToAccountId) { @@ -232,7 +233,7 @@ function Status({ )} {size !== 's' && ( */}{' '} {size !== 'l' && - (uri ? ( + (url ? (
{' '} - +