We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3185a3 commit fa19a56Copy full SHA for fa19a56
components/_util/store/connect.jsx
@@ -18,7 +18,7 @@ export default function connect(mapStateToProps) {
18
__propsSymbol__: PropTypes.any,
19
};
20
Object.keys(tempProps).forEach(k => {
21
- props[k] = { ...k, required: false };
+ props[k] = { ...tempProps[k], required: false };
22
});
23
const Connect = {
24
name: `Connect_${getDisplayName(WrappedComponent)}`,
0 commit comments