@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/cjs/index.cjs
CHANGED
|
@@ -4846,7 +4846,7 @@ function Transfer$1(_ref) {
|
|
|
4846
4846
|
var decimals = poolInfo.poolUnderlyingToken.decimals;
|
|
4847
4847
|
var _useAppSelector = useAppSelector(selectWidgetState),
|
|
4848
4848
|
withdrawAmount = _useAppSelector.withdrawAmount;
|
|
4849
|
-
var withdrawBigNumber = shared.
|
|
4849
|
+
var withdrawBigNumber = shared.upScale(shared.toBigNumber(withdrawAmount), decimals);
|
|
4850
4850
|
var handleSuccess = React.useCallback(function () {
|
|
4851
4851
|
dispatch(setStep(WIDGET_STEP.Done));
|
|
4852
4852
|
}, [dispatch]);
|