Skip to content

Commit

Permalink
Fix/fixed phone number input (#1006)
Browse files Browse the repository at this point in the history
* Removed Facebook eventPrompt; Fixed typo in application submission; Added phone number field to account creation.

* Initialize phone number as inputted value in sign up form so it doesn't default to 11111111111

---------

Co-authored-by: Joshua Zhou <[email protected]>
  • Loading branch information
2 people authored and tektaxi committed Nov 1, 2024
1 parent 6a5c274 commit 420e0b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/features/Account/ManageAccountForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ const ManageAccountForm: React.FC<IManageAccountProps> = (props) => {
id: accountId,
lastName: values.lastName,
password: values.password,
phoneNumber:
props.mode === ManageAccountModes.EDIT ? values.phoneNumber : 11111111111,
phoneNumber: values.phoneNumber,
pronoun: values.pronoun,
gender: values.gender,
dietaryRestrictions: settings.isRemote
Expand Down

0 comments on commit 420e0b7

Please sign in to comment.