@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/cjs/index.cjs
CHANGED
|
@@ -1814,8 +1814,8 @@ function ViewOnExplorer(_ref) {
|
|
|
1814
1814
|
if (!link) {
|
|
1815
1815
|
return null;
|
|
1816
1816
|
}
|
|
1817
|
-
return jsxRuntime.jsx(
|
|
1818
|
-
variant: "
|
|
1817
|
+
return jsxRuntime.jsx(BottomButton, {
|
|
1818
|
+
variant: "contained",
|
|
1819
1819
|
onClick: () => shared.openInNewTab(link),
|
|
1820
1820
|
children: jsxRuntime.jsx(material.Box, {
|
|
1821
1821
|
component: "span",
|
|
@@ -3646,10 +3646,6 @@ function ChooseAmount$9(_ref) {
|
|
|
3646
3646
|
} = webShared.usePoolSafeAllowanceV2(poolInfo.poolName, account, provider);
|
|
3647
3647
|
const totalDueAmount = Number(ethers.ethers.utils.formatUnits(totalDueAmountBN, decimals));
|
|
3648
3648
|
const payoffAmount = Number(ethers.ethers.utils.formatUnits(payoffAmountBN, decimals));
|
|
3649
|
-
console.log('totalDueAmountBN', totalDueAmountBN.toString());
|
|
3650
|
-
console.log('payoffAmountBN', payoffAmountBN.toString());
|
|
3651
|
-
console.log('payoffAmount', payoffAmount);
|
|
3652
|
-
console.log('currentAmount', currentAmount);
|
|
3653
3649
|
React.useEffect(() => {
|
|
3654
3650
|
setCurrentAmount(totalDueAmount);
|
|
3655
3651
|
}, [totalDueAmount]);
|
|
@@ -5534,7 +5530,7 @@ const LoadingCopiesByType$1 = {
|
|
|
5534
5530
|
description: "Checking your verification status..."
|
|
5535
5531
|
},
|
|
5536
5532
|
startKYC: {
|
|
5537
|
-
description: "Starting KYC..."
|
|
5533
|
+
description: "Starting KYC/KYB..."
|
|
5538
5534
|
},
|
|
5539
5535
|
approveLender: {
|
|
5540
5536
|
description: "Approving as lender..."
|