const fetchRecipe = async () => { try{ const recipeId = 716429; const data = await getRecipe(recipeId); setRecipe(data); } catch (error){ console.error(error); } }