@huma-finance/widgets 0.0.51-beta.383 → 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.
@@ -4662,7 +4662,7 @@ function Done$1(_ref) {
4662
4662
  handleAction
4663
4663
  } = _ref;
4664
4664
  const shares = ethers.ethers.utils.formatUnits(redemptionInfo.shares, poolUnderlyingToken.decimals);
4665
- const content = ["You successfully canceled ".concat(shares, " shares redemption request.")];
4665
+ const content = ["Your request to cancel the redemption of ".concat(shared.formatNumber(shares), " shares has been successfully processed.")];
4666
4666
  return jsxRuntime.jsx(TxDoneModal, {
4667
4667
  handleAction: handleAction,
4668
4668
  content: content
@@ -5855,9 +5855,10 @@ function LendSupplyV2(_ref) {
5855
5855
  }
5856
5856
  if (poolInfo.supplyLink) {
5857
5857
  shared.openInNewTab(poolInfo.supplyLink);
5858
+ handleClose();
5858
5859
  }
5859
5860
  }
5860
- }, [dispatch, lenderApproveStatusFetched, lenderApprovedJunior, lenderApprovedSenior, poolInfo, step]);
5861
+ }, [dispatch, handleClose, lenderApproveStatusFetched, lenderApprovedJunior, lenderApprovedSenior, poolInfo, step]);
5861
5862
  if (!poolInfo || !poolUnderlyingToken || !lenderApproveStatusFetched) {
5862
5863
  return jsxRuntime.jsx(WidgetWrapper, {
5863
5864
  isOpen: true,