Skip to content

Commit

Permalink
Update PhoneNumberBusiness.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
allgandalf authored Mar 13, 2024
1 parent 7c73dc8 commit 7c2e74d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function PhoneNumberBusiness({reimbursementAccount, onNext, isEditing}: PhoneNum
const handleSubmit = useReimbursementAccountStepFormSubmit({
fieldIds: STEP_FIELDS,
onNext,
// We want to remove sanitize user input i.e. remove leading and trailing whitespaces
// During draft saving, the phone number is sanitized (i.e. leading and trailing whitespace is removed)
shouldSaveDraft: true,
});

Expand Down

0 comments on commit 7c2e74d

Please sign in to comment.