@secondstaxorg/sscomp 2.0.86 → 2.0.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17705,8 +17705,8 @@ const CountrySelector = (props) => {
|
|
|
17705
17705
|
let internalise = (options.length == 0 && countryListFallback) ? (internalCountries ) : options;
|
|
17706
17706
|
|
|
17707
17707
|
React$1.useEffect(()=>{
|
|
17708
|
+
setInitText('');
|
|
17708
17709
|
if (initialCountry){
|
|
17709
|
-
|
|
17710
17710
|
let opt = internalise.filter((option) => option.optionName.toLowerCase() === _optionalChain$E([initialCountry, 'optionalAccess', _ => _.toLowerCase, 'call', _2 => _2()]) || option.optionShortName.toLowerCase() === _optionalChain$E([initialCountry, 'optionalAccess', _3 => _3.toLowerCase, 'call', _4 => _4()]));
|
|
17711
17711
|
setInitText(opt.length > 0 ? opt[0].optionName : initialCountry);
|
|
17712
17712
|
setImgFile(opt.length > 0 && opt[0].optionFlag ? opt[0].optionFlag : img$b);
|