We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e24d4c2 + 0eb79af commit a499c1eCopy full SHA for a499c1e
frontend/src/services/initialChecks.ts
@@ -17,7 +17,6 @@ function useRampAmountWithinAllowedLimits() {
17
try {
18
const subaccount = await BrlaService.getUser(taxId);
19
const remainingLimitResponse = await BrlaService.getUserRemainingLimit(taxId);
20
- console.log('level:', subaccount.kycLevel);
21
if (subaccount.kycLevel < 2) {
22
return true;
23
}
@@ -29,8 +28,8 @@ function useRampAmountWithinAllowedLimits() {
29
28
30
const amountNum = Number(amountUnits);
31
const remainingLimitNum = Number(remainingLimitInUnits);
32
- console.log('remainingLimitNum', remainingLimitNum);
33
- if (amountNum > remainingLimitNum) {
+
+ if (amountNum <= remainingLimitNum) {
34
35
} else {
36
showToast(
0 commit comments