Fix countries export in utils/countries.ts - add lowercase alias for backward compatibility
All checks were successful
Build And Push Image / docker (push) Successful in 2m13s
All checks were successful
Build And Push Image / docker (push) Successful in 2m13s
The ViewMemberDialog component was importing 'countries' (lowercase) but the file only exported 'COUNTRIES' (uppercase). Added an export alias to maintain backward compatibility.
This commit is contained in:
@@ -372,3 +372,6 @@ export const getCountriesByRegion = (region: 'europe' | 'asia' | 'africa' | 'ame
|
||||
const regionCodes = regions[region] || [];
|
||||
return COUNTRIES.filter(country => regionCodes.includes(country.code));
|
||||
};
|
||||
|
||||
// Export alias for backward compatibility
|
||||
export const countries = COUNTRIES;
|
||||
|
||||
Reference in New Issue
Block a user