File tree Expand file tree Collapse file tree 3 files changed +5
-22
lines changed
Expand file tree Collapse file tree 3 files changed +5
-22
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ const start = async () => {
6161 const [ reId , domain = APP_DOMAIN ] = recipientId . split ( '@' ) ;
6262 try {
6363 const accountObj = {
64+ recipientId : account . recipientId ,
6465 email : `${ reId } @${ domain } ` ,
6566 username : reId ,
6667 domain : domain ,
Original file line number Diff line number Diff line change 2222 height : 10px ;
2323 width : 10px ;
2424 border-radius : 3px ;
25- border : solid 2px #fff ;
25+ border : solid 2px #8a8a8a ;
2626 opacity : 0.2 ;
2727 margin-left : 0px ;
2828
3434
3535 & .checkmark-checked {
3636 background-color : #ffffff ;
37- border-color : transparent !important ;
37+ border-color : transparent ;
3838 opacity : 1 ;
3939
4040 & :after {
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ class SignUpCreateAccountWrapper extends Component {
2828 image : undefined
2929 } ,
3030 termsConditions : false ,
31- promiseCall : false ,
3231 enableButton : false ,
3332 createAccount : false ,
3433 error : undefined
@@ -98,13 +97,6 @@ class SignUpCreateAccountWrapper extends Component {
9897 ) }
9998 </ span >
10099 </ div >
101- < div className = "checkbox-container" >
102- < CustomCheckbox
103- value = { this . state . promiseCall }
104- onChange = { this . handleCheckPromiseCall }
105- />
106- < span className = "checkmark-label" > { create . lifeTip } </ span >
107- </ div >
108100 </ div >
109101 < Button
110102 text = { create . button }
@@ -137,11 +129,11 @@ class SignUpCreateAccountWrapper extends Component {
137129 } ) ;
138130 return ;
139131 }
140- const { randomId , image } = result . body ;
132+ const { captchaKey , image } = result . body ;
141133 this . setState ( {
142134 captcha : {
143135 ...this . state . captcha ,
144- randomId,
136+ randomId : captchaKey ,
145137 image
146138 }
147139 } ) ;
@@ -237,16 +229,6 @@ class SignUpCreateAccountWrapper extends Component {
237229 ) ;
238230 } ;
239231
240- handleCheckPromiseCall = ( ) => {
241- const newValue = ! this . state . promiseCall ;
242- this . setState (
243- {
244- promiseCall : newValue
245- } ,
246- this . shouldEnableButton
247- ) ;
248- } ;
249-
250232 shouldEnableButton = ( ) => {
251233 const shouldEnable =
252234 this . state . termsConditions &&
You can’t perform that action at this time.
0 commit comments