react-country-flag icon indicating copy to clipboard operation
react-country-flag copied to clipboard

If country code is not correct the system crash

Open jlpujante opened this issue 2 years ago • 1 comments

I got an error because the code for a country that I was receiving is in Iso Alpha-3 (IRL) instead of Iso Alpha-2 (IE). If the code does not exists, it should manage to return a valid empty flag or just nothing.

jlpujante avatar Jun 16 '22 14:06 jlpujante

@jlpujante https://github.com/danalloway/react-country-flag/issues/59

carl0shd avatar Nov 19 '23 01:11 carl0shd