From 032901dd6b2bcb48acd67273a30201faa7b52650 Mon Sep 17 00:00:00 2001 From: AlecM33 Date: Mon, 26 Jun 2023 22:12:16 -0400 Subject: [PATCH] lint --- client/src/modules/game_creation/DeckStateManager.js | 4 ++-- client/src/modules/game_creation/RoleBox.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/src/modules/game_creation/DeckStateManager.js b/client/src/modules/game_creation/DeckStateManager.js index 66f626e..018bac2 100644 --- a/client/src/modules/game_creation/DeckStateManager.js +++ b/client/src/modules/game_creation/DeckStateManager.js @@ -197,11 +197,11 @@ export class DeckStateManager { const minusOneHandler = (e) => { if (e.type === 'click' || e.code === 'Enter') { e.preventDefault(); - const toastContent = document.createElement("span") + const toastContent = document.createElement('span'); toastContent.innerHTML = `-1 - ()` + ()`; toastContent.querySelector('#toast-minus-one-name').innerText = sortedDeck[i].role; toastContent.querySelector('.toast-minus-role-quantity').innerText = sortedDeck[i].quantity - 1; diff --git a/client/src/modules/game_creation/RoleBox.js b/client/src/modules/game_creation/RoleBox.js index b20261b..de9aacd 100644 --- a/client/src/modules/game_creation/RoleBox.js +++ b/client/src/modules/game_creation/RoleBox.js @@ -204,11 +204,11 @@ export class RoleBox { } else { this.deckManager.addCopyOfCard(name); } - const toastContent = document.createElement("span") + const toastContent = document.createElement('span'); toastContent.innerHTML = `+1 - ()` + ()`; toastContent.querySelector('#toast-plus-one-name').innerText = name; toastContent.querySelector('.toast-plus-role-quantity').innerText = this.deckManager.getQuantityOfRole(name);