From 11056191e8931a8f7c4e919a4bc03457bcf64954 Mon Sep 17 00:00:00 2001 From: Sreang Rathanak Date: Wed, 24 Jan 2024 17:41:51 +0700 Subject: [PATCH] Add missing invalid_transaction Signed-off-by: Sreang Rathanak --- signup-ui/src/pages/ResetPasswordPage/Otp/Otp.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signup-ui/src/pages/ResetPasswordPage/Otp/Otp.tsx b/signup-ui/src/pages/ResetPasswordPage/Otp/Otp.tsx index d28846b7..d3639b7f 100644 --- a/signup-ui/src/pages/ResetPasswordPage/Otp/Otp.tsx +++ b/signup-ui/src/pages/ResetPasswordPage/Otp/Otp.tsx @@ -204,7 +204,7 @@ export const Otp = ({ methods, settings }: OtpProps) => { onSuccess: ({ errors }) => { if (errors.length > 0) { if ( - ResetPasswordPossibleInvalid.includes( + ["invalid_transaction", ...ResetPasswordPossibleInvalid].includes( errors[0].errorCode ) ) {