Skip to content
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

Fix country dialing code dropdown #2009

Merged
merged 1 commit into from
Jun 25, 2021
Merged

Conversation

adamjmcgrath
Copy link
Contributor

@adamjmcgrath adamjmcgrath commented Jun 25, 2021

Changes

Change globe Svg from JSXElement to object reference to fix "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object."

References

fixes: #2008

Testing

The phone_number_pane.test.jsx.snap now shows an SVG rather than <UNDEFINED /> - also removed a warning from the test logs (this should really be an error, but it only errors in prod)

It's a good lesson for checking the snapshots in PR reviews

Checklist

@adamjmcgrath adamjmcgrath requested a review from a team as a code owner June 25, 2021 09:55
@adamjmcgrath adamjmcgrath merged commit f9bf68d into master Jun 25, 2021
@adamjmcgrath adamjmcgrath deleted the fix/country-code-dropdown branch June 25, 2021 10:30
@adamjmcgrath adamjmcgrath added this to the v11.30.3 milestone Jun 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Passwordless SMS country code
2 participants