MapStateProps

const mapStateToProps = (state) => {
  return { ingredients: state.ingredients };
  };
}
Shiny Sloth