Handle conditon to hide unwanted OR label

This commit is contained in:
Vikas Nale 2025-06-09 11:49:34 +05:30
parent 945d79a250
commit 9e03e6ae19

View File

@ -173,7 +173,7 @@ const LoginPage = () => {
>
{loading ? "Please Wait" : IsLoginWithOTP ? "Send OTP" : "Sign In"}
</button>
<div className="p-2">OR</div>
{!IsLoginWithOTP && <div className="p-2">OR</div>}
{!IsLoginWithOTP && (
<button
aria-label="loginwithotp"