diff --git a/public/scripts/profile-editor.js b/public/scripts/profile-editor.js index 726ddc6..850996f 100644 --- a/public/scripts/profile-editor.js +++ b/public/scripts/profile-editor.js @@ -8,7 +8,9 @@ document.addEventListener('DOMContentLoaded', () => { // Get playerId from meta tag const displayNameMeta = document.querySelector('meta[name="displayName"]'); - const initialDisplayName = displayNameMeta ? displayNameMeta.content : 'New Player'; + const initialDisplayName = displayNameMeta + ? displayNameMeta.content + : 'New Player'; // Initialize display name with initial name displayNameSpan.textContent = initialDisplayName; diff --git a/src/view/board-renderer.ts b/src/view/board-renderer.ts index 22ca59d..44d3cf2 100644 --- a/src/view/board-renderer.ts +++ b/src/view/board-renderer.ts @@ -6,7 +6,7 @@ export function renderGameBoardHtml( ): string { // Check the last move, so that the stone can be highlighted const lastMove = game.history[game.history.length - 1]; - + let boardHtml = '