Continue on Game view
[vchess.git] / client / src / utils / storage.js
index 8008777..1103a42 100644 (file)
@@ -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)
        {