feat(recipes): filter ingredients with quantity <= 0 before API submission

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-10 09:05:19 +02:00
parent dbc78a1883
commit 44b3f06474
7 changed files with 65 additions and 15 deletions

View File

@@ -29,7 +29,7 @@ const editProps = {
name: 'Spaghetti Bolognese',
serves: 4,
cookTimeMin: 30,
effort: 'Medium',
effort: 'medium',
heroImageUrl: undefined as string | undefined,
ingredients: [
{ name: 'Spaghetti', quantity: 200, unit: 'g' }