@huma-finance/widgets 0.0.61-beta.547 → 0.0.61-beta.549
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +3 -7
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.js +3 -7
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/components/CreditLine/paymentV2/1-ChooseAmount.tsx +0 -5
- package/src/components/Lend/supplyV2/components/PersonaEvaluation.tsx +1 -1
- package/src/components/ViewOnExplorer.tsx +4 -3
package/dist/index.js
CHANGED
|
@@ -1774,8 +1774,8 @@ function ViewOnExplorer(_ref) {
|
|
|
1774
1774
|
if (!link) {
|
|
1775
1775
|
return null;
|
|
1776
1776
|
}
|
|
1777
|
-
return jsx(
|
|
1778
|
-
variant: "
|
|
1777
|
+
return jsx(BottomButton, {
|
|
1778
|
+
variant: "contained",
|
|
1779
1779
|
onClick: () => openInNewTab(link),
|
|
1780
1780
|
children: jsx(Box, {
|
|
1781
1781
|
component: "span",
|
|
@@ -3606,10 +3606,6 @@ function ChooseAmount$9(_ref) {
|
|
|
3606
3606
|
} = usePoolSafeAllowanceV2(poolInfo.poolName, account, provider);
|
|
3607
3607
|
const totalDueAmount = Number(ethers.utils.formatUnits(totalDueAmountBN, decimals));
|
|
3608
3608
|
const payoffAmount = Number(ethers.utils.formatUnits(payoffAmountBN, decimals));
|
|
3609
|
-
console.log('totalDueAmountBN', totalDueAmountBN.toString());
|
|
3610
|
-
console.log('payoffAmountBN', payoffAmountBN.toString());
|
|
3611
|
-
console.log('payoffAmount', payoffAmount);
|
|
3612
|
-
console.log('currentAmount', currentAmount);
|
|
3613
3609
|
useEffect(() => {
|
|
3614
3610
|
setCurrentAmount(totalDueAmount);
|
|
3615
3611
|
}, [totalDueAmount]);
|
|
@@ -5494,7 +5490,7 @@ const LoadingCopiesByType$1 = {
|
|
|
5494
5490
|
description: "Checking your verification status..."
|
|
5495
5491
|
},
|
|
5496
5492
|
startKYC: {
|
|
5497
|
-
description: "Starting KYC..."
|
|
5493
|
+
description: "Starting KYC/KYB..."
|
|
5498
5494
|
},
|
|
5499
5495
|
approveLender: {
|
|
5500
5496
|
description: "Approving as lender..."
|