@@ -95,8 +101,11 @@ const RecipeList: React.FC = () => {
boxShadow: 1,
fontSize: '40px'
}}
- onClick={() => openRecipeById(recipe.recipeId)}
- >
+ onClick = {() =>
+ {setAddByRecipeId(recipe.recipeId)
+ setOpenAddByRecipeDialog(true)}
+ }
+ >
{recipe.recipeName}
{recipe.maxServings === 0 && {
*/}
-