mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-04-20 03:50:20 +00:00
fix: add error message display for general errors in OTP verification form
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m7s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m7s
This commit is contained in:
parent
2cb2059f9e
commit
25404b66f7
@ -52,6 +52,9 @@ export default function VerifyRegistrationOTPForm({
|
|||||||
className="bg-white text-black"
|
className="bg-white text-black"
|
||||||
/>
|
/>
|
||||||
{state?.status === "error" && (
|
{state?.status === "error" && (
|
||||||
|
<p className="text-yellow-500 text-sm">{state.message}</p>
|
||||||
|
)}
|
||||||
|
{state.status === "verify_error" && (
|
||||||
<p className="text-red-500 text-sm">{state.message}</p>
|
<p className="text-red-500 text-sm">{state.message}</p>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user