X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Futils%2Fstorage.js;h=1103a42dbf4caae7c4d1402aad1cff333d8bd321;hp=8008777458328773e08ae777bccc58fc06537241;hb=b196f8ea2c7d91fb65da80747f74ee33567fa3bd;hpb=46284a2f440304a82210a2ddb2c05c43ff92e651 diff --git a/client/src/utils/storage.js b/client/src/utils/storage.js index 80087774..1103a42d 100644 --- a/client/src/utils/storage.js +++ b/client/src/utils/storage.js @@ -34,6 +34,8 @@ function clearStorage() function getGameFromStorage(gameId) { + const gid = this.gameRef.id; + const rid = this.gameRef.rid; //may be blank let game = {}; if (localStorage.getItem("gameId") === gameId) {