You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Fix instances of double translation and guard translation calls using typescript (#11443)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
d13b6e1b41
commit
ac70f7ac9b
@@ -305,8 +305,7 @@ export function attemptTokenLogin(
|
||||
logger.warn("Cannot log in with token: can't determine HS URL to use");
|
||||
onFailedDelegatedAuthLogin(
|
||||
_t(
|
||||
"We asked the browser to remember which homeserver you use to let you sign in, " +
|
||||
"but unfortunately your browser has forgotten it. Go to the sign in page and try again.",
|
||||
"We asked the browser to remember which homeserver you use to let you sign in, but unfortunately your browser has forgotten it. Go to the sign in page and try again.",
|
||||
),
|
||||
);
|
||||
return Promise.resolve(false);
|
||||
|
Reference in New Issue
Block a user