From a139ef0b2fbfeb21841c63cb74869f7d802f2b06 Mon Sep 17 00:00:00 2001 From: Vasan Subramanian Date: Fri, 23 Dec 2016 14:07:08 +0530 Subject: [PATCH] Programmatic Navigation: must use pathname or in router.push --- src/IssueList.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IssueList.jsx b/src/IssueList.jsx index 63fca38..b66f8eb 100644 --- a/src/IssueList.jsx +++ b/src/IssueList.jsx @@ -68,7 +68,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 }); } loadData() {