0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-31 22:51:25 -05:00

fix(ui): fix typo which could result in undesirable reminder content (#3233)

This commit is contained in:
Darcy Ye 2023-02-28 10:29:06 +08:00 committed by GitHub
parent bbcb904223
commit 2335c09dde
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ const useSignInFlowCodeVerification = (
const [confirm] = await show({
confirmText: 'action.create',
ModalContent: t('description.sign_in_id_does_not_exist', {
ype: t(`description.${method === SignInIdentifier.Email ? 'email' : 'phone_number'}`),
type: t(`description.${method === SignInIdentifier.Email ? 'email' : 'phone_number'}`),
value:
method === SignInIdentifier.Phone
? formatPhoneNumberWithCountryCallingCode(target)