mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 10:53:31 +00:00
ESlint
This commit is contained in:
@@ -383,7 +383,7 @@ export class Transport {
|
||||
const errorKey = `worker_error.${event.reason}`;
|
||||
|
||||
let alertMsg = `${translateText(connRefusedKey)}: `;
|
||||
let translatedError = translateText(errorKey);
|
||||
const translatedError = translateText(errorKey);
|
||||
|
||||
if (translatedError === errorKey) {
|
||||
// No translation key in error.reason or no translation or default English found
|
||||
|
||||
Reference in New Issue
Block a user