@huma-finance/widgets 0.0.51-beta.382 → 0.0.51-beta.385
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/index.js
CHANGED
|
@@ -4623,7 +4623,7 @@ function Done$1(_ref) {
|
|
|
4623
4623
|
handleAction
|
|
4624
4624
|
} = _ref;
|
|
4625
4625
|
const shares = ethers.utils.formatUnits(redemptionInfo.shares, poolUnderlyingToken.decimals);
|
|
4626
|
-
const content = ["
|
|
4626
|
+
const content = ["Your request to cancel the redemption of ".concat(formatNumber(shares), " shares has been successfully processed.")];
|
|
4627
4627
|
return jsx(TxDoneModal, {
|
|
4628
4628
|
handleAction: handleAction,
|
|
4629
4629
|
content: content
|
|
@@ -5816,9 +5816,10 @@ function LendSupplyV2(_ref) {
|
|
|
5816
5816
|
}
|
|
5817
5817
|
if (poolInfo.supplyLink) {
|
|
5818
5818
|
openInNewTab(poolInfo.supplyLink);
|
|
5819
|
+
handleClose();
|
|
5819
5820
|
}
|
|
5820
5821
|
}
|
|
5821
|
-
}, [dispatch, lenderApproveStatusFetched, lenderApprovedJunior, lenderApprovedSenior, poolInfo, step]);
|
|
5822
|
+
}, [dispatch, handleClose, lenderApproveStatusFetched, lenderApprovedJunior, lenderApprovedSenior, poolInfo, step]);
|
|
5822
5823
|
if (!poolInfo || !poolUnderlyingToken || !lenderApproveStatusFetched) {
|
|
5823
5824
|
return jsx(WidgetWrapper, {
|
|
5824
5825
|
isOpen: true,
|