diff --git a/src/Contacts/Contact.tsx b/src/Contacts/Contact.tsx index 15cb39e..56d77eb 100644 --- a/src/Contacts/Contact.tsx +++ b/src/Contacts/Contact.tsx @@ -38,7 +38,7 @@ class Contact extends React.PureComponent { function getAllType( propName: string, - props: any, + props_: any, valueToHref?: (value: string, type: string) => string, primaryTransform?: (value: string, type: string) => string, secondaryTransform?: (value: string, type: string) => string) { @@ -58,6 +58,8 @@ class Contact extends React.PureComponent { ); + const { ref, ...props } = props_; + return (