Skip to content

Commit

Permalink
fix(clerk-js): Sms phone code verification lists available phone numb…
Browse files Browse the repository at this point in the history
…ers on cancel (#3479)
  • Loading branch information
panteliselef authored May 31, 2024
1 parent be88436 commit f31e382
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eleven-toes-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/clerk-js': patch
---

Sms phone code verification lists available phone numbers on cancel.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const MfaPhoneCodeScreen = withCardStateProvider((props: MfaPhoneCodeScre
title={localizationKeys('userProfile.mfaPhoneCodePage.title')}
resourceRef={ref}
onSuccess={wizard.nextStep}
onReset={wizard.prevStep}
onReset={() => wizard.goToStep(2)}
/>
<AddMfa
onSuccess={isInstanceWithBackupCodes ? wizard.nextStep : onSuccess}
Expand Down

0 comments on commit f31e382

Please sign in to comment.