0
0
Fork 0

Upgrade to typescript-eslint v6 (#25904)

This commit is contained in:
Renaud Chaput 2023-07-13 11:49:16 +02:00 committed by GitHub
parent 3ed9b55cb3
commit a7253075d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 133 additions and 107 deletions

View file

@ -78,7 +78,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}`;
}