Fixed information edit link not working

This commit is contained in:
Arnaud Vergnet 2020-06-26 13:18:38 +02:00
parent 629f0401bc
commit d07b34c748

View file

@ -245,10 +245,7 @@ class ProfileScreen extends React.Component<Props, State> {
<Button
icon="account-edit"
mode="contained"
onPress={() => this.props.navigation.navigate('amicale-website', {
screen: 'amicale-website',
params: {path: this.data.link}
})}
onPress={() => this.props.navigation.navigate('amicale-website', {path: this.data.link})}
style={styles.editButton}>
{i18n.t("profileScreen.editInformation")}
</Button>