Skip to content

Commit a788376

Browse files
committed
forgot to add {...this.props} to DecoratedComponent in render
1 parent ce8bf1e commit a788376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/createConnectDecorator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default function createConnectDecorator(React) {
115115
}
116116

117117
render() {
118-
return <DecoratedComponent {...this.merge()} />;
118+
return <DecoratedComponent {...this.props} {...this.merge()} />;
119119
}
120120
};
121121
};

0 commit comments

Comments
 (0)