Skip to content

Commit 60cdd58

Browse files
committed
fix goBack in navigator service
1 parent 78735f2 commit 60cdd58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/navigation/NavigationService.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ function navigate(routeName, params) {
1616
}
1717

1818
function goBack() {
19-
navigator._navigation.goBack();
19+
//navigator._navigation.goBack();
20+
navigator.dispatch(NavigationActions.back());
2021
}
2122

2223
// add other navigation functions that you need and export them

0 commit comments

Comments
 (0)