Skip to content

Commit

Permalink
(Merge branch) Programmatic Navigation: must use location in router.push
Browse files Browse the repository at this point in the history
  • Loading branch information
vasansr committed Dec 23, 2016
2 parents 4b8fa80 + 12f3f9a commit 6f8056b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IssueList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default class IssueList extends React.Component {
}

setFilter(query) {
this.props.router.push({ query });
this.props.router.push({ pathname: this.props.location.pathname, query });
}

showError(message) {
Expand Down

0 comments on commit 6f8056b

Please sign in to comment.