-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suisin/Updated Sign up Modal Message #6126
Suisin/Updated Sign up Modal Message #6126
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
A production App ID was automatically generated for this PR. (log)
Click here to copy & paste above information.
|
Codecov Report
@@ Coverage Diff @@
## master #6126 +/- ##
==========================================
- Coverage 21.48% 21.47% -0.01%
==========================================
Files 1386 1386
Lines 31465 31473 +8
Branches 5363 5364 +1
==========================================
Hits 6760 6760
- Misses 24321 24329 +8
Partials 384 384
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
}) => ( | ||
<div> | ||
<Text as='p' className='account-signup__text'> | ||
{localize('Are you a citizen of the same country where you live?')} | ||
{localize('Are you a citizen of ')} {selectedCountry}? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Can you use
residence
value? - You need to make sure selected country is being translated using
localize
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do it 🙏
…n-deriv/deriv-app into update_signup_pop_up_modal_message
…n-deriv/deriv-app into update_signup_pop_up_modal_message
a68f3a2
…signup_pop_up_modal_message
…n-deriv/deriv-app into update_signup_pop_up_modal_message
@@ -70,6 +71,16 @@ const Autocomplete = React.memo(props => { | |||
} | |||
}, [list_items, has_updating_list]); | |||
|
|||
React.useEffect(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are setting the active_index and input_value in the previous useEffect, isn't it better to add this condition to that useEffect instead of writing new one in order to not set those values twice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try on that and see if it works. Thanks @mahdiyeh-fs 🙏
…signup_pop_up_modal_message
…n-deriv/deriv-app into update_signup_pop_up_modal_message
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Changes:
Please include a summary of the change and which issue is fixed below:
When you need to add unit test
When you need to add integration test
Test coverage checklist (for reviewer)
Type of change