Commit a606e17b authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo
parents f49665d6 67327516
...@@ -195,6 +195,7 @@ class EmailConfirmation extends React.Component { ...@@ -195,6 +195,7 @@ class EmailConfirmation extends React.Component {
} }
render() { render() {
console.log(this.props.proses)
return ( return (
<View style={styles.container}> <View style={styles.container}>
<MyStatusBar /> <MyStatusBar />
...@@ -225,7 +226,7 @@ class EmailConfirmation extends React.Component { ...@@ -225,7 +226,7 @@ class EmailConfirmation extends React.Component {
<TouchableOpacity style={{ height: 60 }} onPress={() => this.handleResend()}> <TouchableOpacity style={{ height: 60 }} onPress={() => this.handleResend()}>
<Text style={{ alignSelf: 'center', color: '#CFB368', fontFamily: 'Gotham-Black', fontSize: 20, top: 10 }}>RESEND EMAIL TOKEN</Text> <Text style={{ alignSelf: 'center', color: '#CFB368', fontFamily: 'Gotham-Black', fontSize: 20, top: 10 }}>RESEND EMAIL TOKEN</Text>
</TouchableOpacity> </TouchableOpacity>
{this.props.isEmailverif == true ? ( {this.props.proses == 'Register' ? (
<TouchableOpacity style={{ height: 60 }} onPress={() => this.props.navigation.navigate('Change Email')}> <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> <Text style={{ alignSelf: 'center', color: '#CFB368', fontFamily: 'Gotham-Black', fontSize: 20, }}>CHANGE EMAIL</Text>
</TouchableOpacity> </TouchableOpacity>
......
...@@ -162,7 +162,7 @@ d } else { ...@@ -162,7 +162,7 @@ d } else {
} }
let prosesProps = { let prosesProps = {
proses: 'Register' proses: ''
} }
this.props.setProses(prosesProps); this.props.setProses(prosesProps);
......
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