Not sure why I\'m getting this error, it happened when I added connect from redux to my Login component, so I could connect my store.
connect
redux
store
You could use React's contextType or pass propType. You would need to declare it either as a prop or contextType.
Provider.contextTypes = { Store: React.PropTypes.object.isRequired }; Provider.propTypes= { Store: React.PropTypes.object.isRequired };