1
0

Change console output in App.js on global change

Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
This commit is contained in:
James Ketrenos 2022-03-16 13:47:14 -07:00
parent def582f350
commit a853a7b647

View File

@ -158,11 +158,15 @@ const Table = () => {
if (global.ws !== connection if (global.ws !== connection
|| global.name !== name || global.name !== name
|| global.gameId !== gameId) { || global.gameId !== gameId) {
console.log(`board - (app) - setting global`, global, console.log(`board - (app) - setting global`, global, {
{connection, name, gameId}); ws: connection,
name,
gameId
});
setGlobal({ setGlobal({
ws: connection, ws: connection,
name, gameId name,
gameId
}); });
} }