Browse Source

Fixed information edit link not working

Arnaud Vergnet 1 year 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,10 +245,7 @@ class ProfileScreen extends React.Component<Props, State> {
245 245
                         <Button
246 246
                             icon="account-edit"
247 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 249
                             style={styles.editButton}>
253 250
                             {i18n.t("profileScreen.editInformation")}
254 251
                         </Button>

Loading…
Cancel
Save