Skip to content

Commit 690136f

Browse files
committed
Remove commented code regarding primary mailing address update logic
1 parent 8b62a5b commit 690136f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/components/Contacts/ContactDetails/ContactDetailsTab/Mailing/EditContactAddressModal/EditContactAddressModal.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ export const EditContactAddressModal: React.FC<
8585
},
8686
},
8787
});
88-
// updateContactAddress doesn't set support setting the primaryMailingAddress field, so if
89-
// that field changes, then use the setContactPrimaryAddress mutation to update it
9088
if (address.primaryMailingAddress !== primaryMailingAddress) {
9189
await setContactPrimaryAddress({
9290
variables: {

0 commit comments

Comments
 (0)