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