Change console output in App.js on global change
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
parent
def582f350
commit
a853a7b647
@ -158,11 +158,15 @@ const Table = () => {
|
||||
if (global.ws !== connection
|
||||
|| global.name !== name
|
||||
|| global.gameId !== gameId) {
|
||||
console.log(`board - (app) - setting global`, global,
|
||||
{connection, name, gameId});
|
||||
console.log(`board - (app) - setting global`, global, {
|
||||
ws: connection,
|
||||
name,
|
||||
gameId
|
||||
});
|
||||
setGlobal({
|
||||
ws: connection,
|
||||
name, gameId
|
||||
name,
|
||||
gameId
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user