diff --git a/src/frontend/components/board-game.ts b/src/frontend/components/board-game.ts index 6ae44b3..55a395d 100644 --- a/src/frontend/components/board-game.ts +++ b/src/frontend/components/board-game.ts @@ -43,12 +43,6 @@ class BoardGameComponent extends HTMLElement { }); } - this.querySelectorAll(".current-player-name").forEach((playerNameElement) => { - if ((playerNameElement as HTMLElement).innerText !== gameState.currentPlayerName) { - (playerNameElement as HTMLElement).innerText = gameState.currentPlayerName; - } - }); - const buttonValues = getButtonValues(gameState); this.querySelectorAll("button").forEach((button) => { button.classList.forEach((className) => {