From 25404b66f7f99757cb5998d563bc0234de8f0556 Mon Sep 17 00:00:00 2001 From: i701 Date: Thu, 17 Apr 2025 23:47:59 +0500 Subject: [PATCH] fix: add error message display for general errors in OTP verification form --- components/auth/verify-registration-otp-form.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/auth/verify-registration-otp-form.tsx b/components/auth/verify-registration-otp-form.tsx index fee72aa..4ccd0bd 100644 --- a/components/auth/verify-registration-otp-form.tsx +++ b/components/auth/verify-registration-otp-form.tsx @@ -52,6 +52,9 @@ export default function VerifyRegistrationOTPForm({ className="bg-white text-black" /> {state?.status === "error" && ( +

{state.message}

+ )} + {state.status === "verify_error" && (

{state.message}

)}