summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-02-03 13:20:39 +0100
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-02-03 13:20:39 +0100
commita25b27f7a22f4cef8713f05f5a46234947fbcf3a (patch)
treec3ce9efec4cdbd5bf8f32acca9b9bf49a8bf952d
parentc3996421480c3df6f7e86b8aedf1c11e0b7be618 (diff)
downloadwordle-frontend-a25b27f7a22f4cef8713f05f5a46234947fbcf3a.tar.xz
linter fixes
-rw-r--r--src/Wordle.vue2
-rw-r--r--src/components/Keyboard.vue4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Wordle.vue b/src/Wordle.vue
index 504e7c6..395c3ad 100644
--- a/src/Wordle.vue
+++ b/src/Wordle.vue
@@ -40,7 +40,7 @@ function addLetter(letter: string) {
}
function removeLetter() {
- current.trial = current.trial.substring(0, current.trial.length-1);
+ current.trial = current.trial.substring(0, current.trial.length - 1);
}
function submit() {
diff --git a/src/components/Keyboard.vue b/src/components/Keyboard.vue
index 3433f14..899a173 100644
--- a/src/components/Keyboard.vue
+++ b/src/components/Keyboard.vue
@@ -55,10 +55,10 @@ function pressButton(letter: string) {
props.addLetter(letter);
} else {
switch (letter) {
- case '<':
+ case "<":
props.removeLetter();
break;
- case 'Ok':
+ case "Ok":
props.submit();
break;
default: