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 f532a82 commit cc526a8Copy full SHA for cc526a8
dist/navigationStore.js
@@ -300,13 +300,13 @@ this.ref.onEnter(navigation&&navigation.state);
300
}},{key:'componentWillUnmount',value:function componentWillUnmount()
301
{
302
var navigation=this.props.navigation;
303
-this.ref=null;
304
if(this.ref&&navigation&&navigation.state&&navigation.state.routeName){
305
store.deleteRef(originalRouteName(navigation.state.routeName));
306
}
307
if(this.ref&&this.ref.onExit){
308
this.ref.onExit(navigation&&navigation.state);
309
+this.ref=null;
310
}},{key:'onRef',value:function onRef(
311
ref){
312
this.ref=ref;
@@ -685,4 +685,4 @@ params:params})]}));
685
686
687
688
-new NavigationStore();
+new NavigationStore();
0 commit comments