Merge pull request #649 from jdegand/enum-typo

fix: choosed typo
This commit is contained in:
Laforge Thomas
2024-03-06 12:13:26 +01:00
committed by GitHub

View File

@@ -70,7 +70,7 @@ export class AppComponent {
}); });
readonly directionLabel = computed<string>(() => { readonly directionLabel = computed<string>(() => {
const prefix = 'You choosed to go'; const prefix = 'You chose to go';
switch (this.direction()) { switch (this.direction()) {
case Direction.LEFT: case Direction.LEFT:
return `${prefix} ${Direction.LEFT}`; return `${prefix} ${Direction.LEFT}`;