[Glitch] Fix missing interpolation of domain in disabled account banner in web UI

Port 8742e0000e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
lolsob-rspec
Eugen Rochko 2022-11-05 21:11:35 +01:00 committed by Claire
parent 3eec8f7152
commit 7cc6e34cc4
1 changed files with 1 additions and 1 deletions

View File

@ -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>,
}}
/>
) : (