Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
wrandall22 committed Aug 12, 2024
1 parent c6843ce commit 56503c7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/Tool/FixEmailAddresses/FixEmailAddresses.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,7 @@ export const FixEmailAddresses: React.FC<FixEmailAddressesProps> = ({
emailAddresses: person.emailAddresses.nodes.map(
(emailAddress) => {
existingSources.add(emailAddress.source);
return {
id: emailAddress.id,
primary: emailAddress.primary,
updatedAt: emailAddress.updatedAt,
source: emailAddress.source,
email: emailAddress.email,
};
return { ...emailAddress };
},
),
},
Expand Down

0 comments on commit 56503c7

Please sign in to comment.