Commit dacad9e1 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

revisi email confirmation

parent ac2dff6e
......@@ -115,16 +115,16 @@ class EmailConfirmation extends React.Component {
}
handleCancel() {
if (this.props.pageEmailConfirmation == true) {
if (this.props.isEmailverif == true) {
let pageProps = {
pageEmailConfirmation: false
isEmailverif: false
}
this.props.setPage(pageProps)
this.props.navigation.navigate('Login');
} else {
console.log("KE REGISTER ")
let pageProps = {
pageEmailConfirmation: false
isEmailverif: false
}
this.props.setPage(pageProps)
this.props.navigation.navigate('New Register');
......@@ -226,7 +226,7 @@ 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>
{this.props.pageEmailConfirmation == true ? (
{this.props.isEmailverif == 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>
......
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