Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zivyangll committed Jul 16, 2020
1 parent 876a4b9 commit 9d6aa33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/web/react-router-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ exports.getRouter = (data, options = {}) => {
isMatched = matchPath(pathname, currentRoute) || isMatched;
}
}, {
extname: '.js',
extname: '.js'
});
});
currentRoute.path = currentRoute._path || currentRoute.path;
Expand Down

0 comments on commit 9d6aa33

Please sign in to comment.