diff --git a/web/src/views/CreateJoin.vue b/web/src/views/CreateJoin.vue index 95da088..a49cf1c 100644 --- a/web/src/views/CreateJoin.vue +++ b/web/src/views/CreateJoin.vue @@ -64,7 +64,7 @@ export default { return; }; - history.replaceState(null, ``, `?game=${data.game_code}`); + history.replaceState(null, ``, `?game=${this.game_code}`); // Save the data in the store this.$store.commit(`playerList`, data.players);