Skip to content

Commit

Permalink
fix: Not always send in recipient name (#4671)
Browse files Browse the repository at this point in the history
  • Loading branch information
gorandalum authored Aug 15, 2024
1 parent 8840ad1 commit 4cf839b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ export const SubmitButton = ({
setIsSubmitting(false);

if (accountId) {
onSubmit({accountId, name, phoneNumber: fullPhoneNumber});
onSubmit({
accountId,
name: settingName ? name : undefined,
phoneNumber: fullPhoneNumber,
});
} else {
onError('no_associated_account');
}
Expand Down

0 comments on commit 4cf839b

Please sign in to comment.