Skip to content

Commit d3f2228

Browse files
committed
fix global leak from dirty refactor
1 parent a66f2b6 commit d3f2228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/stores/route-store.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ function extractQuery(activePath) {
167167
* Along the way, the given _routes array is populated with <Route> objects that
168168
* are parents of the matching route, in the order they appear in the tree.
169169
*/
170-
function findActiveParams(_activePath, tree, _routes) {
171-
activePath = _activePath.replace(queryMatcher, '');
170+
function findActiveParams(activePath, tree, _routes) {
171+
activePath = activePath.replace(queryMatcher, '');
172172
return findFirst(tree, function (node) {
173173
var params = path.extractParams(node.computedPath, activePath);
174174

0 commit comments

Comments
 (0)