Skip to content

Commit

Permalink
Trim whitespace on invite code (#1517)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee authored Sep 23, 2023
1 parent b7697f0 commit 41b53ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/models/ui/create-account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class CreateAccountModel {
email: this.email,
handle: createFullHandle(this.handle, this.userDomain),
password: this.password,
inviteCode: this.inviteCode,
inviteCode: this.inviteCode.trim(),
})
/* dont await */ this.rootStore.preferences.setBirthDate(this.birthDate)
track('Create Account')
Expand Down

0 comments on commit 41b53ca

Please sign in to comment.