Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
clone_excelso
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Prasetya Saputra
clone_excelso
Commits
5ee85475
Commit
5ee85475
authored
Jun 16, 2020
by
Wahyu Adjie Prasetyo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change email ada ketika state register saja.
parent
c466856b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
EmailConfirmation.js
view/EmailConfirmation.js
+7
-5
No files found.
view/EmailConfirmation.js
View file @
5ee85475
...
...
@@ -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'
}}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment