[Glitch] Upgrade to typescript-eslint v6

Port a7253075d1 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Renaud Chaput
2023-07-13 11:49:16 +02:00
committed by Claire
parent 3be4f4266d
commit 18f55567b0
18 changed files with 45 additions and 36 deletions

View File

@ -82,7 +82,7 @@ export class DisplayName extends React.PureComponent<Props> {
} else if (account) {
let acct = account.get('acct');
if (acct.indexOf('@') === -1 && localDomain) {
if (!acct.includes('@') && localDomain) {
acct = `${acct}@${localDomain}`;
}