@huma-finance/widgets 0.0.51-beta.385 → 0.0.51-beta.387

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