Browse Source

Fixed information edit link not working

Arnaud Vergnet 3 years ago
parent
commit
d07b34c748
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      src/screens/Amicale/ProfileScreen.js

+ 1
- 4
src/screens/Amicale/ProfileScreen.js View File

245
                         <Button
245
                         <Button
246
                             icon="account-edit"
246
                             icon="account-edit"
247
                             mode="contained"
247
                             mode="contained"
248
-                            onPress={() => this.props.navigation.navigate('amicale-website', {
249
-                                screen: 'amicale-website',
250
-                                params: {path: this.data.link}
251
-                            })}
248
+                            onPress={() => this.props.navigation.navigate('amicale-website', {path: this.data.link})}
252
                             style={styles.editButton}>
249
                             style={styles.editButton}>
253
                             {i18n.t("profileScreen.editInformation")}
250
                             {i18n.t("profileScreen.editInformation")}
254
                         </Button>
251
                         </Button>

Loading…
Cancel
Save