This.props.action is not a function error occurred when using react-redux, for the first time

this is action.js

clipboard.png

reducer.js

clipboard.png

connect.js

clipboard.png

action.js

clipboard.png

the error is this.props.setSkin () is not a function,
I have dispacth (setSkin ()) to props in connect, and I have also used Provider, at the top level, but still report such an error.
I don"t know which step went wrong?

Feb.28,2021
The

problem has been solved. When the problem of this.props.action is not a function occurs, in essence, the method is not uploaded to props, so this method cannot be found.
I have this problem because I did not use the new components generated by connect, so this problem arises. Just use the new components generated by connect.


how to solve the above problems

Menu