@huma-finance/widgets 0.0.62-beta.703 → 0.0.62-beta.705

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.
@@ -8652,7 +8652,7 @@ function ChooseAmount$3(_ref) {
8652
8652
  let seniorAvailableCapBN = maxSeniorAssetsBN.sub(seniorTrancheAssetsBN);
8653
8653
  seniorAvailableCapBN = seniorAvailableCapBN.gt(totalAvailableCapBN) ? totalAvailableCapBN : seniorAvailableCapBN;
8654
8654
  return {
8655
- juniorAvailableCapBN: totalAvailableCapBN.sub(seniorAvailableCapBN),
8655
+ juniorAvailableCapBN: totalAvailableCapBN,
8656
8656
  seniorAvailableCapBN
8657
8657
  };
8658
8658
  }, [poolState]);