Fix lint & prettier issues
This commit is contained in:
parent
5a0eec1eb9
commit
163ee872bf
@ -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";
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user