diff --git a/src/views/Lobby.vue b/src/views/Lobby.vue index 3b76973..d566cdd 100644 --- a/src/views/Lobby.vue +++ b/src/views/Lobby.vue @@ -24,11 +24,7 @@ export default { mounted() { this.game_code = sessionStorage.getItem(`game-code`); this.is_host = JSON.parse(sessionStorage.getItem(`is-host`)); - - // Get the player data if the host loaded the component - if (this.is_host) { - this.$nextTick(() => this.getPlayerList()); - }; + this.$nextTick(() => this.getPlayerList()); }, methods: { getPlayerList() {