Fix nav reset

parent faac28ca
......@@ -17,12 +17,14 @@ class NavAction {
this._reset = (stackName, routeName) =>
navigatorRef.dispatch(
this._navActions.navigate({
routeName: stackName,
action: this._stackActions.reset({
index: 0,
actions: [this._navActions.navigate({ routeName })],
}),
this._stackActions.reset({
index: 0,
actions: [
this._navActions.navigate({
routeName: stackName,
action: this._navActions.navigate({ routeName }),
}),
],
})
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment