|
@@ -61,5 +61,5 @@ export const ContactAvatar = ({ children, ...props }) => {
|
|
|
|
|
|
export const getContactName = (contact) => (contact?.user_metadata?.username ?? contact.name);
|
|
|
export const getContactPicture = (contact) => (contact?.user_metadata?.picture ?? contact.picture);
|
|
|
-export const getContactCountry = (contact) => (contact?.user_metadata?.countryCode.toLowerCase());
|
|
|
+export const getContactCountry = (contact) => (contact?.user_metadata?.countryCode?.toLowerCase());
|
|
|
|