@huma-finance/widgets 0.0.61 → 0.0.62-beta.584

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.
@@ -6142,7 +6142,7 @@ function ChooseAmount$4(_ref) {
6142
6142
  let seniorAvailableCapBN = maxSeniorAssetsBN.sub(seniorAssetsBN);
6143
6143
  seniorAvailableCapBN = seniorAvailableCapBN.gt(totalAvailableCapBN) ? totalAvailableCapBN : seniorAvailableCapBN;
6144
6144
  return {
6145
- juniorAvailableCapBN: totalAvailableCapBN.sub(seniorAvailableCapBN),
6145
+ juniorAvailableCapBN: totalAvailableCapBN,
6146
6146
  seniorAvailableCapBN
6147
6147
  };
6148
6148
  }, [juniorAssetsBN, lpConfig, seniorAssetsBN]);