Skip to content

Commit

Permalink
fix(example): Fix access to props in react-router example
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfurlong authored and bobylito committed Mar 21, 2017
1 parent f2f1a2e commit 1417d6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {isEqual} from 'lodash';
class App extends Component {
constructor(props) {
super(props);
this.state = {searchState: {...qs.parse(this.props.router.location.query)}};
this.state = {searchState: {...qs.parse(props.router.location.query)}};
}

componentWillReceiveProps() {
Expand Down

0 comments on commit 1417d6f

Please sign in to comment.