function RecipeList({ recipes, selectedId, onSelect }) { return (

כל המתכונים

{recipes.length}
{recipes.length === 0 ? (

עדיין אין מתכונים, לחץ על “מתכון חדש” להתחלה.

) : ( )}
); } function translateMealType(type) { switch (type) { case "breakfast": return "בוקר"; case "lunch": return "צהריים"; case "dinner": return "ערב"; case "snack": return "קינוחים"; default: return type; } } export default RecipeList;