change prop name to be more readable

This commit is contained in:
Michael Genson 2025-07-28 16:07:27 +00:00
commit bc6f2cdba6
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@
>
<RecipeYield
:yield-quantity="recipe.recipeYieldQuantity"
:yield="recipe.recipeYield"
:yield-text="recipe.recipeYield"
:scale="recipeScale"
class="mb-4"
/>

View file

@ -34,7 +34,7 @@ export default defineNuxtComponent({
type: Number,
default: 0,
},
yield: {
yieldText: {
type: String,
default: "",
},
@ -59,7 +59,7 @@ export default defineNuxtComponent({
const { scaledAmountDisplay } = useScaledAmount(props.yieldQuantity, props.scale);
return scaledAmountDisplay;
});
const text = sanitizeHTML(props.yield);
const text = sanitizeHTML(props.yieldText);
return {
scaledAmount,