small tweaks

This commit is contained in:
2025-11-17 15:08:45 +13:00
parent 4eeb34f8c8
commit 7958e4b7f5

View File

@@ -10,7 +10,7 @@ function renderStepText(items, allIngredients, cookware, timers) {
return item.value; return item.value;
} else if (item.type === 'ingredient') { } else if (item.type === 'ingredient') {
const ing = allIngredients[item.index]; const ing = allIngredients[item.index];
return `${ing.quantity.value.value} ${ing.unit || ''} ${ing.name}`.trim(); return `${ing.name}`.trim();
} else if (item.type === 'cookware') { } else if (item.type === 'cookware') {
return cookware[item.index].name; return cookware[item.index].name;
} else if (item.type === 'timer') { } else if (item.type === 'timer') {