mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
Merge pull request #7 from srgooglo/master-cf-autofix
Apply fixes from CodeFactor
This commit is contained in:
commit
0d30c8ced3
@ -12,7 +12,7 @@ export class SocketConnection{
|
||||
|
||||
constructor(props:any){
|
||||
if (!props) {
|
||||
throw new Error("Mmm some props are not defined")
|
||||
throw new Error("Mmm some props are not defined")
|
||||
}
|
||||
this.state = {
|
||||
address: props.address,
|
||||
@ -68,7 +68,7 @@ export class SocketConnection{
|
||||
return false
|
||||
}
|
||||
verbosityConsole(`Strike [${this.state.connAttemps + 1}] / ${maxDeep_Attemp + 1} !`)
|
||||
this.state.connAttemps = this.state.connAttemps + 1
|
||||
this.state.connAttemps = this.state.connAttemps + 1
|
||||
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user