Skip to content

Commit 13c82b4

Browse files
committed
chore: remove debug
1 parent d03bfc6 commit 13c82b4

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/components/transactions/Borrow/BorrowModalContent.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ export const BorrowModalContent = ({
6161

6262
const [amount, setAmount] = useState('');
6363
const [riskCheckboxAccepted, setRiskCheckboxAccepted] = useState(false);
64-
65-
console.log('WHAT IS THE USER', user);
6664
// amount calculations
6765
const maxAmountToBorrow = getMaxAmountAvailableToBorrow(poolReserve, user);
6866

src/utils/getMaxAmountAvailableToBorrow.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,7 @@ export function getMaxAmountAvailableToBorrow(
4646
const availableForUserMarketReferenceCurrency = valueToBigNumber(
4747
user?.availableBorrowsMarketReferenceCurrency || 0
4848
).div(poolReserve.formattedPriceInMarketReferenceCurrency);
49-
console.log('USER BORROWS', user.availableBorrowsUSD);
50-
console.log(
51-
'availableForUserMarketReferenceCurrency',
52-
availableForUserMarketReferenceCurrency.toString()
53-
);
54-
console.log('availableLiquidity', availableLiquidity.toString());
49+
5550
const maxUserAmountToBorrow = BigNumber.min(
5651
availableForUserMarketReferenceCurrency,
5752
availableLiquidity

0 commit comments

Comments
 (0)