diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-02-03 13:20:39 +0100 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-02-03 13:20:39 +0100 |
commit | a25b27f7a22f4cef8713f05f5a46234947fbcf3a (patch) | |
tree | c3ce9efec4cdbd5bf8f32acca9b9bf49a8bf952d | |
parent | c3996421480c3df6f7e86b8aedf1c11e0b7be618 (diff) | |
download | wordle-frontend-a25b27f7a22f4cef8713f05f5a46234947fbcf3a.tar.xz |
linter fixes
-rw-r--r-- | src/Wordle.vue | 2 | ||||
-rw-r--r-- | src/components/Keyboard.vue | 4 |
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: |