Skip to content

Commit

Permalink
fix usage of idiomatic react props
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSki committed Feb 13, 2015
1 parent 4f91d06 commit 207a385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ var mq = React.createClass({
if (props.query) {
this.query = props.query;
} else {
this.query = toQuery(omit(props, excludedQueryKeys));
this.query = toQuery(props);
}

if (!this.query) {
Expand Down

0 comments on commit 207a385

Please sign in to comment.