From 0f71e498988c5f1f6ea230700d2f46a39c2356b4 Mon Sep 17 00:00:00 2001 From: Steffen Date: Thu, 6 May 2021 21:50:57 +0200 Subject: [PATCH] let's try adding a lint error --- src/components/TownSquare.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/components/TownSquare.vue b/src/components/TownSquare.vue index 4c34249..3138169 100644 --- a/src/components/TownSquare.vue +++ b/src/components/TownSquare.vue @@ -163,10 +163,7 @@ export default { if (nomination.includes(playerIndex)) { // abort vote if removed player is either nominator or nominee this.$store.commit("session/nomination"); - } else if ( - nomination[0] > playerIndex || - nomination[1] > playerIndex - ) { + } else if (nomination[0] > playerIndex || nomination[1] > playerIndex) { // update nomination array if removed player has lower index this.$store.commit("session/setNomination", [ nomination[0] > playerIndex ? nomination[0] - 1 : nomination[0],