fix missing difficulty on summary selection

This commit is contained in:
2025-08-10 14:50:28 +01:00
parent 758864494c
commit 1b35c90dcb
2 changed files with 3 additions and 3 deletions

View File

@@ -113,8 +113,8 @@ const ShoppingList: React.FC<ShoppingListProps> = ({ userSelection, onSelectionU
<h4>{selection.recipeId.title}</h4>
<p>{selection.recipeId.description}</p>
<span className="recipe-meta">
{selection.recipeId.category} {selection.recipeId.difficulty}
{selection.recipeId.prepTime + selection.recipeId.cookTime} min
{selection.recipeId.category || 'Uncategorized'} {selection.recipeId.difficulty || 'Unknown'}
{(selection.recipeId.prepTime || 0) + (selection.recipeId.cookTime || 0)} min
</span>
</div>
</div>