CountryFlag code defaultProp 'anywhere'
Closed this issue ยท 4 comments
tbergquist-godaddy commented
When working with grahpql, types are nullable by default. It would be great to have anywhere
as default prop to CountryFlag. So we don't have to do this every time <CountryFlag code={location?.country?.code ?? 'anywhere'}
/>
tbergquist-godaddy commented
Nevermind me, seems this is already implemented.
tbergquist-godaddy commented
michalsanger commented
It was merged in #801 so it looks like it was reverted later.