feat : remove log in IB

This commit is contained in:
2025-10-17 12:11:44 +05:30
parent ad19f0cb4c
commit 6acb7ade49
5 changed files with 52 additions and 24 deletions

View File

@@ -35,7 +35,7 @@ export default function Login() {
const [mobile, setMobile] = useState("");
async function handleSendOtp(mobile?: string) {
console.log("hi mobile", mobile);
// console.log("hi mobile", mobile);
if (!mobile) {
notifications.show({
title: 'Error',
@@ -45,7 +45,7 @@ export default function Login() {
return false;
}
try {
console.log(CIF);
// console.log(CIF);
await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: mobile });
// await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: '7890544527' });
notifications.show({
@@ -186,7 +186,7 @@ export default function Login() {
});
const data = await response.json();
console.log(data);
// console.log(data);
// 1⃣ OTP Required
if (data.status === "OTP_REQUIRED" && response.status === 202) {