Commit 68b7aeb4 authored by Trisno's avatar Trisno

fix alert change password

parent 296ccbcc
......@@ -32,7 +32,7 @@ class ChangePassword extends React.Component {
this.props.navigation.navigate('Profile');
}).catch(error => {
console.log(error)
let response = error.response;
let response = error.response.data;
Alert.alert('', response.msg);
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment