Skip to content

Commit

Permalink
fixed onion recipe bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Shree-77 committed Oct 31, 2023
1 parent 0dd3f06 commit 4f30584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Food-Recipe/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async function fetchResponses(recipeName) {

const rating = Math.ceil(data.results[0].user_ratings.score * 5);
const yields = data.results[0].yields;
const cookTime = data.results[0]?.total_time_tier?.display_tier;
const cookTime = data.results[0]?.total_time_tier?.display_tier ?? "null";
const instructionsTag = data.results[0]?.instructions;

const nutrition = () => {
Expand Down

0 comments on commit 4f30584

Please sign in to comment.