about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-11-05 21:11:35 +0100
committerGitHub <noreply@github.com>2022-11-05 21:11:35 +0100
commita442f481f850d857544eafdd0725142ed8656552 (patch)
tree84b9a9f20355a97c7ca20be840cd3f52d01b6e66
parent7c65f5269277cd8e953efb25fa77dc28441904e7 (diff)
Fix missing interpolation of domain in disabled account banner in web UI (#19788)
-rw-r--r--app/javascript/mastodon/features/ui/components/disabled_account_banner.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/components/disabled_account_banner.js b/app/javascript/mastodon/features/ui/components/disabled_account_banner.js
index c9845d917..cc8cc3285 100644
--- a/app/javascript/mastodon/features/ui/components/disabled_account_banner.js
+++ b/app/javascript/mastodon/features/ui/components/disabled_account_banner.js
@@ -66,7 +66,7 @@ class DisabledAccountBanner extends React.PureComponent {
               defaultMessage='Your account {disabledAccount} is currently disabled because you moved to {movedToAccount}.'
               values={{
                 disabledAccount: disabledAccountLink,
-                movedToAccount: <Link to={`/@${movedToAcct}`}>{movedToAcct.includes('@') ? movedToAcct : `${movedToAcct}@{domain}`}</Link>,
+                movedToAccount: <Link to={`/@${movedToAcct}`}>{movedToAcct.includes('@') ? movedToAcct : `${movedToAcct}@${domain}`}</Link>,
               }}
             />
           ) : (