mirror of
https://github.com/logto-io/logto.git
synced 2025-04-07 23:01:25 -05:00
fix(experience): fix the interaction event in continue sign-in (#7227)
fix the interaction event in continue sign-in flow
This commit is contained in:
parent
1052b7ae2f
commit
d9d707c98a
2 changed files with 4 additions and 6 deletions
|
@ -88,6 +88,7 @@ const useContinueFlowCodeVerification = (
|
|||
identifier,
|
||||
interactionEvent,
|
||||
isVerificationCodeEnabledForSignIn,
|
||||
navigate,
|
||||
searchParameters,
|
||||
showIdentifierErrorAlert,
|
||||
showLinkSocialConfirmModal,
|
||||
|
|
|
@ -41,12 +41,9 @@ const useSignInWithExistIdentifierConfirmModal = () => {
|
|||
|
||||
const signInWithIdentifierAsync = useApi(signInWithVerifiedIdentifier);
|
||||
|
||||
const submitInteractionErrorHandler = useSubmitInteractionErrorHandler(
|
||||
InteractionEvent.Register,
|
||||
{
|
||||
replace: true,
|
||||
}
|
||||
);
|
||||
const submitInteractionErrorHandler = useSubmitInteractionErrorHandler(InteractionEvent.SignIn, {
|
||||
replace: true,
|
||||
});
|
||||
|
||||
return useCallback(
|
||||
({ identifier: { type, value }, verificationId, onCanceled }: CallbackProps) => {
|
||||
|
|
Loading…
Add table
Reference in a new issue