Skip to content

Instantly share code, notes, and snippets.

@advancedor96
Created December 23, 2017 07:40
Show Gist options
  • Save advancedor96/5f62fc48a11cf23747cc9d8a95926cd9 to your computer and use it in GitHub Desktop.
Save advancedor96/5f62fc48a11cf23747cc9d8a95926cd9 to your computer and use it in GitHub Desktop.
const BurgerIngredient_list = igKey_list.map(igKey=>{
return [...Array(props.ingredients[igKey])].map( (_, i)=>{
return <BurgerIngredient type={igKey} key={igKey + i} />
});
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment