Fix React warning.

master
Tom Hacohen 4 years ago
parent ba89498ee9
commit 3187807842

@ -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 {
</IconButton>
);
const { ref, ...props } = props_;
return (
<ListItem
key={idx}

Loading…
Cancel
Save