React and Redux - Step 8

//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?

Hi there and welcome. Post a link to the challenge step.

Your code isn’t passing the test on my end and the comment isn’t there before theprovider variable in the starting of the challenge.

I commented the Provider definition code line myself. It is passing on my end. Attached a .png as proof. Tried it in a private window, I’m using Firefox 128.7.0esr (64-Bit).

Then create an issue in freeCodeCamp repository on GitHub for that.