From d097697aef60e1f412095aa0d7b988a8005bd47a Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Mon, 21 Oct 2024 17:30:24 +0800 Subject: [PATCH] Fix stupid mistake: title not showing acct --- src/pages/account-statuses.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/account-statuses.jsx b/src/pages/account-statuses.jsx index 6a723d74..453e1477 100644 --- a/src/pages/account-statuses.jsx +++ b/src/pages/account-statuses.jsx @@ -232,7 +232,7 @@ function AccountStatuses() { const { i18n } = useLingui(); let title = t`Account posts`; if (account?.acct) { - const acctDisplay = /@/.test(account.acct) ? '' : '@' + account.acct; + const acctDisplay = (/@/.test(account.acct) ? '' : '@') + account.acct; const accountDisplay = account?.displayName ? `${account.displayName} (${acctDisplay})` : `${acctDisplay}`;