We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a38446b commit 532a461Copy full SHA for 532a461
modules/NavigationContext.js
@@ -15,11 +15,11 @@ var NavigationContext = {
15
16
getChildContext: function () {
17
return {
18
- makePath: this.constructor.makePath,
19
- makeHref: this.constructor.makeHref,
20
- transitionTo: this.constructor.transitionTo,
21
- replaceWith: this.constructor.replaceWith,
22
- goBack: this.constructor.goBack
+ makePath: this.constructor.makePath.bind(this.constructor),
+ makeHref: this.constructor.makeHref.bind(this.constructor),
+ transitionTo: this.constructor.transitionTo.bind(this.constructor),
+ replaceWith: this.constructor.replaceWith.bind(this.constructor),
+ goBack: this.constructor.goBack.bind(this.constructor)
23
};
24
}
25
0 commit comments