diff --git a/content/2-templating/6-conditional/angular/trafficlight.component.ts b/content/2-templating/6-conditional/angular/trafficlight.component.ts index 316d366a..4235ad45 100644 --- a/content/2-templating/6-conditional/angular/trafficlight.component.ts +++ b/content/2-templating/6-conditional/angular/trafficlight.component.ts @@ -9,17 +9,11 @@ const TRAFFIC_LIGHTS = ["red", "orange", "green"];

Light is: {{ light }}

You must - @switch (light) { - @case ("red") { - STOP - } - @case ("orange") { - SLOW DOWN - } - @case ("green") { - GO - } - } + + STOP + SLOW DOWN + GO +

`, })