Getting a recipes not defined in the map call. What am I overlooking?
class App extends React.Component {
constructor () {
super();
this.state = {recipes: ["Crepes", "Lasange", "Omlete"]}
}
render () {
return (
<div>
<Recipe>Crepes</Recipe>
{this.state.recipes.map(recipe => <Recipes>{recipe}</Recipes>)}
<Rfooter />
</div>
);
}
}