Closed samparnell closed 4 years ago
@samparnell I think perhaps these weren't intended for usage other than by our own UI components, and weren't accounted for when we changed how our library is transpiled. In any case, you should be able to change this to import countryDialCodes from 'aws-amplify-react/lib/Auth/common/country-dial-codes'
(lib instead of dist).
Does that work?
@samparnell Closing this issue due to inactivity.
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server *-help
channels or Discussions for those types of questions.
Describe the bug In recent versions of the Amplify React package this error occurs.
This error appears when I upgrade to v2.5.4 or v3.1.0
Error Message:
To Reproduce Include the country dial codes in a react component.
Expected behavior This worked fine up to and including v2.5.2