I think you’re not too far off, here are a few things I noticed:
The Container constant (capital C) is actually intended to be a React Component class (hence capitalised), which is used to construct a React component using the JSX syntax (<Container />); you can only create React Components using a class that begins with a capital letter (from memory, I think, part of the reason is because lower case is reserved for regular DOM elements)
Following from above, container is actually a function at the moment—so passing it, which is a function, into the render method as you have now should throw an error since it’s not a React Component (that is, it’s not <Container />)
And I think you may have misread this of the instructions:
in the AppWrapper, render the React Redux —Provider— component.
It should work once you will have fixed those things! Happy coding!
The mapStateToProps() and mapDispatchToProps() methods map state and dispatch to the props of one of your React components. The connect method helps you do this…
In the current exercise, we need to connect the component “Presentational” to Redux using this method. We’re also asked to assign the result of the method to a constant called “Container”
It looks like you assigned the result of the ‘connect’ method to a variable called ‘connectt.’ and you created the class ‘Container,’ which you didn’t need to do. It looks like if you just assign the result of the ‘connect’ method to the appropriate constant and get rid of the code used to define “Container” as a class, you should be alright.