diff --git a/playground/app/components/recipe/IngredientItem.vue b/playground/app/components/recipe/IngredientItem.vue index e66ec6c..e97b8cf 100644 --- a/playground/app/components/recipe/IngredientItem.vue +++ b/playground/app/components/recipe/IngredientItem.vue @@ -35,12 +35,12 @@ function isAndGroup( } /** - * Type guard: checks if entry is a simple group with groupQuantity + * Type guard: checks if entry is a simple group with a single quantity */ function isSimpleGroup( entry: IngredientQuantityEntry, ): entry is IngredientQuantityGroup { - return "groupQuantity" in entry; + return "quantity" in entry; } /** @@ -126,9 +126,7 @@ const displayMode = computed(() => {