//const Provider = ReactRedux.Provider;
const connect = ReactRedux.connect;
// Define the Container component here:
const Container = connect(mapStateToProps, mapDispatchToProps)(Presentational);
class AppWrapper extends React.Component {
constructor(props) {
super(props);
}
render() {
// Complete the return statement:
return <Container store={store} />;
}
};
This code passes the challenge, even though the Container component is not wrapped in the Provider component as instructed and Provider definition is commented out. Is this a bug?