Commit 5ee85475 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

change email ada ketika state register saja.

parent c466856b
......@@ -19,7 +19,7 @@ class EmailConfirmation extends React.Component {
}
componentDidMount() {
// console.log("SESSION " + this.props.session_id)
console.log("SESSION " + this.props.pageEmailConfirmation)
}
handleSubmit() {
......@@ -147,7 +147,7 @@ class EmailConfirmation extends React.Component {
}).catch(error => {
let response = error.response.data;
Alert.alert('','Silahkan Cek Email Kembali');
Alert.alert('', 'Silahkan Cek Email Kembali');
this.setState({
spinner: false,
})
......@@ -216,9 +216,11 @@ class EmailConfirmation extends React.Component {
<TouchableOpacity style={{ height: 60 }} onPress={() => this.handleResend()}>
<Text style={{ alignSelf: 'center', color: '#CFB368', fontFamily: 'Gotham-Black', fontSize: 20, top: 10 }}>RESEND EMAIL TOKEN</Text>
</TouchableOpacity>
<TouchableOpacity style={{ height: 60 }} onPress={() => this.props.navigation.navigate('Change Email')}>
<Text style={{ alignSelf: 'center', color: '#CFB368', fontFamily: 'Gotham-Black', fontSize: 20, }}>CHANGE EMAIL</Text>
</TouchableOpacity>
{this.props.pageEmailConfirmation == true ? (
<TouchableOpacity style={{ height: 60 }} onPress={() => this.props.navigation.navigate('Change Email')}>
<Text style={{ alignSelf: 'center', color: '#CFB368', fontFamily: 'Gotham-Black', fontSize: 20, }}>CHANGE EMAIL</Text>
</TouchableOpacity>
) : (null)}
</View>
</View>
<View style={{ flex: 1, flexDirection: 'row' }}>
......
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