@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.
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 = ["Your request to cancel the redemption of ".concat(formatNumber(shares), " shares has been successfully processed.")];
4626
+ const content = ["You successfully canceled ".concat(shares, " shares redemption request.")];
4627
4627
  return jsx(TxDoneModal, {
4628
4628
  handleAction: handleAction,
4629
4629
  content: content
@@ -5816,10 +5816,9 @@ function LendSupplyV2(_ref) {
5816
5816
  }
5817
5817
  if (poolInfo.supplyLink) {
5818
5818
  openInNewTab(poolInfo.supplyLink);
5819
- handleClose();
5820
5819
  }
5821
5820
  }
5822
- }, [dispatch, handleClose, lenderApproveStatusFetched, lenderApprovedJunior, lenderApprovedSenior, poolInfo, step]);
5821
+ }, [dispatch, lenderApproveStatusFetched, lenderApprovedJunior, lenderApprovedSenior, poolInfo, step]);
5823
5822
  if (!poolInfo || !poolUnderlyingToken || !lenderApproveStatusFetched) {
5824
5823
  return jsx(WidgetWrapper, {
5825
5824
  isOpen: true,