catch null instance
This commit is contained in:
parent
4da209fdc1
commit
38e0a09a8a
@ -32,7 +32,7 @@ function Instance(args) {
|
|||||||
|
|
||||||
sendInstanceReady,
|
sendInstanceReady,
|
||||||
} = args;
|
} = args;
|
||||||
|
if (!instance) return false;
|
||||||
const rdyClasses = `ready-btn ready`;
|
const rdyClasses = `ready-btn ready`;
|
||||||
const readyInfo = instance.phase === 'Lobby'
|
const readyInfo = instance.phase === 'Lobby'
|
||||||
? 'lobbyReady'
|
? 'lobbyReady'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user