Skip to content

Commit

Permalink
fix(clerk-js): Ensure callback is called when adding a phone number
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcarpenter committed Jan 17, 2025
1 parent 9eef771 commit 8dddf35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const MfaPhoneCodeScreen = withCardStateProvider((props: MfaPhoneCodeScre
<MFAVerifyPhone
title={localizationKeys('userProfile.mfaPhoneCodePage.title')}
resourceRef={ref}
onSuccess={() => (isInstanceWithBackupCodes ? wizard.goToStep(3) : onSuccess)}
onSuccess={() => (isInstanceWithBackupCodes ? wizard.goToStep(3) : onSuccess())}
onReset={() => wizard.goToStep(2)}
/>
<AddMfa
Expand Down

0 comments on commit 8dddf35

Please sign in to comment.