JamieCaudill / whats-cookin-group-project

https://whats-cookin-group-project.vercel.app
0 stars 1 forks source link

refactor recipeIngredients to be used in calculateCost #49

Closed Marisa5280 closed 1 year ago

Marisa5280 commented 1 year ago

Split function where 1st part returns the recipe ingredients objects, and a 2nd function that gets the ingredient.name for each ingredient

use the 1st function in calculateCost