summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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: