@huma-finance/widgets 0.0.51-beta.365 → 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/index.js
CHANGED
|
@@ -5957,7 +5957,7 @@ function Transfer$4(_ref) {
|
|
|
5957
5957
|
const {
|
|
5958
5958
|
withdrawAmount
|
|
5959
5959
|
} = useAppSelector(selectWidgetState);
|
|
5960
|
-
const withdrawBigNumber = toBigNumber(
|
|
5960
|
+
const withdrawBigNumber = upScale(toBigNumber(withdrawAmount), decimals);
|
|
5961
5961
|
const handleSuccess = useCallback(() => {
|
|
5962
5962
|
dispatch(setStep(WIDGET_STEP.Done));
|
|
5963
5963
|
}, [dispatch]);
|