Skip to content

Commit

Permalink
add component to meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Ville Saukkonen committed May 30, 2018
1 parent 41aa986 commit 1ad0996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ function connect(mapPropsToRequestsToProps, defaults, options) {
const initPS = this.createInitialPromiseState(prop, mapping)
const onFulfillment = this.createPromiseStateOnFulfillment(prop, mapping, startedAt)
const onRejection = this.createPromiseStateOnRejection(prop, mapping, startedAt)

meta.component = this.refs.wrappedInstance
if (mapping.hasOwnProperty('value')) {
return onFulfillment(meta)(mapping.value)
} else {
Expand Down

0 comments on commit 1ad0996

Please sign in to comment.