Skip to content

Commit

Permalink
fix(clerk-js): Clear invalid invitation token value
Browse files Browse the repository at this point in the history
  • Loading branch information
igneel64 committed Mar 1, 2022
1 parent c128ce8 commit 0c5dc85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/clerk-js/src/ui/signUp/SignUpStart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ function _SignUpStart(): JSX.Element {
void completeSignUpFlow(res);
})
.catch(err => {
formFields.invitationToken.setValue('');
handleError(err, [], setError);
})
.finally(() => {
Expand Down

0 comments on commit 0c5dc85

Please sign in to comment.