From 5d59901b8d462c42e7df60014952ed1af7be035e Mon Sep 17 00:00:00 2001 From: kyori19 Date: Tue, 15 Nov 2022 05:25:11 +0000 Subject: [PATCH] Fix removed otherAccounts referred in status.js --- app/javascript/mastodon/components/status.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index 9af7db326..e05928e01 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -597,7 +597,7 @@ class Status extends ImmutablePureComponent { return null; }; - const statusAvatar = (status, account, otherAccounts, quote = false) => { + const statusAvatar = (status, account, quote = false) => { if (account === undefined || account === null) { return ; } else { @@ -605,13 +605,13 @@ class Status extends ImmutablePureComponent { } }; - const identity = (status, account, otherAccounts, quote = false) => ( + const identity = (status, account, quote = false) => (
- {statusAvatar(status, account, otherAccounts, quote)} + {statusAvatar(status, account, quote)}
- +
); @@ -636,7 +636,7 @@ class Status extends ImmutablePureComponent { {status.get('edited_at') && *} - {identity(status, account, otherAccounts, false)} + {identity(status, account, false)}