diff --git a/client/src/modules/game_state/states/Lobby.js b/client/src/modules/game_state/states/Lobby.js index 0c61820..10ce765 100644 --- a/client/src/modules/game_state/states/Lobby.js +++ b/client/src/modules/game_state/states/Lobby.js @@ -9,41 +9,7 @@ export class Lobby { this.stateBucket = stateBucket; this.socket = socket; this.container = document.getElementById(containerId); - this.components = { - HTML: - `
-
- - -
-
-
- -
-
- clock -
-
-
- person -
-
-
-
-
- -
-
-
-
- -
-
- -
` - }; + this.container.innerHTML = HTMLFragments.LOBBY; this.startGameHandler = (e) => { e.preventDefault(); @@ -59,8 +25,6 @@ export class Lobby { ); }); }; - - this.container.innerHTML = this.components.HTML; } populateHeader () {