From dd4f1a923756f554dbbbc2b81c6506d640f6cd48 Mon Sep 17 00:00:00 2001 From: simeng-li Date: Thu, 16 Feb 2023 10:58:26 +0800 Subject: [PATCH] fix(ui): update password sign-in link state value fix verification-code switch to password sign-in page session not found bug --- .../ui/src/containers/VerificationCode/PasswordSignInLink.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/containers/VerificationCode/PasswordSignInLink.tsx b/packages/ui/src/containers/VerificationCode/PasswordSignInLink.tsx index edf25f8aa..11ac2c94c 100644 --- a/packages/ui/src/containers/VerificationCode/PasswordSignInLink.tsx +++ b/packages/ui/src/containers/VerificationCode/PasswordSignInLink.tsx @@ -18,7 +18,7 @@ const PasswordSignInLink = ({ className, method, target }: Props) => { icon={} text="action.sign_in_via_password" to={`/${UserFlow.signIn}/password`} - state={{ [method]: target }} + state={{ identifier: method, value: target }} /> ); };