0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

Merge pull request #3124 from logto-io/simeng-ui-iteraction-bug-fix

fix(ui): update password sign-in link state value
This commit is contained in:
simeng-li 2023-02-16 14:41:30 +08:00 committed by GitHub
commit 94edf8a827
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ const PasswordSignInLink = ({ className, method, target }: Props) => {
icon={<SwitchIcon />} icon={<SwitchIcon />}
text="action.sign_in_via_password" text="action.sign_in_via_password"
to={`/${UserFlow.signIn}/password`} to={`/${UserFlow.signIn}/password`}
state={{ [method]: target }} state={{ identifier: method, value: target }}
/> />
); );
}; };