diff options
author | Michael <michael.foiani@gmail.com> | 2021-07-02 16:10:30 -0400 |
---|---|---|
committer | Michael <michael.foiani@gmail.com> | 2021-07-02 16:10:30 -0400 |
commit | d2347eef0e22c7d47f090e6ce0a8a2c50506c894 (patch) | |
tree | 0ae97adbe8774c40d6d94183a39254eebef10943 | |
parent | 222c7ab62e57f7dec41d8a14de3768ee9a63fc8e (diff) |
Removed the comment about the navigation error.
-rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 28e8808f..fac00f21 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -209,11 +209,7 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { <Button title="Cancel" buttonStyle={styles.button} - onPress={() => - // There is issue here with navigations on the commented code below - // moment ? navigation.goBack() : navigateToProfile() - navigation.goBack() - } + onPress={() => navigation.goBack()} /> <Button title={moment ? 'Done' : 'Share'} |