@huma-finance/widgets 0.0.51-beta.231 → 0.0.51-beta.233
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
|
@@ -4807,7 +4807,7 @@ function Transfer$1(_ref) {
|
|
|
4807
4807
|
var decimals = poolInfo.poolUnderlyingToken.decimals;
|
|
4808
4808
|
var _useAppSelector = useAppSelector(selectWidgetState),
|
|
4809
4809
|
withdrawAmount = _useAppSelector.withdrawAmount;
|
|
4810
|
-
var withdrawBigNumber = toBigNumber(
|
|
4810
|
+
var withdrawBigNumber = upScale(toBigNumber(withdrawAmount), decimals);
|
|
4811
4811
|
var handleSuccess = useCallback(function () {
|
|
4812
4812
|
dispatch(setStep(WIDGET_STEP.Done));
|
|
4813
4813
|
}, [dispatch]);
|