@huma-finance/widgets 0.0.51-beta.363 → 0.0.51-beta.375
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
|
@@ -5996,7 +5996,7 @@ function Transfer$4(_ref) {
|
|
|
5996
5996
|
const {
|
|
5997
5997
|
withdrawAmount
|
|
5998
5998
|
} = useAppSelector(selectWidgetState);
|
|
5999
|
-
const withdrawBigNumber = shared.
|
|
5999
|
+
const withdrawBigNumber = shared.upScale(shared.toBigNumber(withdrawAmount), decimals);
|
|
6000
6000
|
const handleSuccess = React.useCallback(() => {
|
|
6001
6001
|
dispatch(setStep(WIDGET_STEP.Done));
|
|
6002
6002
|
}, [dispatch]);
|