Skip to content

Commit

Permalink
Simplify withAltContext
Browse files Browse the repository at this point in the history
  • Loading branch information
goatslacker committed Apr 19, 2015
1 parent 21d4d6d commit 986e50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/withAltContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function withAltContext(flux, Component) {
},

getChildContext() {
return { flux: flux }
return { flux }
},

render() {
Expand Down

0 comments on commit 986e50e

Please sign in to comment.