feat : user can set the transaction limit

This commit is contained in:
2025-11-04 12:43:53 +05:30
parent 96b505a38c
commit a40a5f621f
4 changed files with 376 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ export default function Login() {
try {
await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: mobile });
// await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: "7890544527" });
// await sendOtp({ type: 'LOGIN_OTP', username: CIF, mobileNumber: "6297421727" });
notifications.show({
color: 'orange',
title: 'OTP Required',
@@ -68,7 +68,7 @@ export default function Login() {
try {
if (mobile) {
await verifyLoginOtp(otp, mobile);
// await verifyLoginOtp(otp, '7890544527');
// await verifyLoginOtp(otp, '6297421727');
return true;
}
}
@@ -296,7 +296,7 @@ export default function Login() {
message: "Internal Server Error, Please try again later",
autoClose: 5000,
});
}
}
// finally {
// // Ensure we always stop loader if still active
// setIsLogging(false);