Skip to content

Commit 3bd146b

Browse files
committed
Hotfix: can't use const, too much babel
1 parent 05ef2e8 commit 3bd146b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matchRoutes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function Match(path, route, match, query) {
117117
this.path;
118118
}
119119

120-
const EMPTY_OBJECT = {}; // Maintains reference equality, useful for SCU
120+
var EMPTY_OBJECT = {}; // Maintains reference equality, useful for SCU
121121
Object.freeze && Object.freeze(EMPTY_OBJECT);
122122
Match.prototype.getProps = function() {
123123
if (!this.route) {

0 commit comments

Comments
 (0)