From 14b961a1e2bb3bee075c30df903baa240271d4d2 Mon Sep 17 00:00:00 2001 From: Thomas Lamant Date: Sun, 25 Oct 2026 15:11:28 +0100 Subject: [PATCH] chore(playground): remove unreachable branch --- playground/app/components/recipe/RecipeRender.vue | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/playground/app/components/recipe/RecipeRender.vue b/playground/app/components/recipe/RecipeRender.vue index faa34729..d3c36922 100644 --- a/playground/app/components/recipe/RecipeRender.vue +++ b/playground/app/components/recipe/RecipeRender.vue @@ -159,8 +159,8 @@ const sectionsWithStepNumbers = computed(() => { active: stepIsActive, optional: item.optional, }; - } - if (item.type === "note") { + } else { + // Note const noteIsActive = sectionIsActive && isNoteActive(item, activeVariant); return { @@ -168,12 +168,6 @@ const sectionsWithStepNumbers = computed(() => { active: noteIsActive, }; } - return { - ...item, - stepNumber: null, - active: sectionIsActive, - optional: false, - }; }); return { name: section.name,