Fix lint & prettier issues

This commit is contained in:
CEC 2022-04-19 17:11:51 +02:00
parent 5a0eec1eb9
commit 163ee872bf
3 changed files with 22 additions and 22 deletions

View File

@ -22,7 +22,6 @@ import {
FollowAbortMessage,
VariableMessage,
LockGroupPromptMessage,
ErrorScreenMessage,
} from "../Messages/generated/messages_pb";
import { UserMovesMessage } from "../Messages/generated/messages_pb";
import { parse } from "query-string";

View File

@ -657,7 +657,8 @@ export class SocketManager implements ZoneEventListener {
if (error.urlToRedirect) errorMessage.setUrltoredirect(error.urlToRedirect);
if (error.buttonTitle) errorMessage.setButtontitle(error.buttonTitle);
if (!!error.canRetryManual) errorMessage.setCanretrymanual(error.canRetryManual);
if(error.timeToRetry && !isNaN(Number(error.timeToRetry))) errorMessage.setTimetoretry(Number(error.timeToRetry));
if (error.timeToRetry && !isNaN(Number(error.timeToRetry)))
errorMessage.setTimetoretry(Number(error.timeToRetry));
const serverToClientMessage = new ServerToClientMessage();
serverToClientMessage.setErrorscreenmessage(errorMessage);