@huma-finance/widgets 0.0.63-beta.736 → 0.0.63-beta.739
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
|
@@ -5489,7 +5489,7 @@ function PointsEarned(_ref) {
|
|
|
5489
5489
|
pointsAccumulated
|
|
5490
5490
|
} = useAppSelector(selectWidgetState);
|
|
5491
5491
|
const hasPointsAccumulated = !shared.isEmpty(pointsAccumulated) && pointsAccumulated > 0;
|
|
5492
|
-
const lockupMonths = Math.round((_lpConfig$withdrawalL = lpConfig.withdrawalLockupPeriodDays) !== null && _lpConfig$withdrawalL !== void 0 ? _lpConfig$withdrawalL : 0 / 30);
|
|
5492
|
+
const lockupMonths = Math.round(((_lpConfig$withdrawalL = lpConfig.withdrawalLockupPeriodDays) !== null && _lpConfig$withdrawalL !== void 0 ? _lpConfig$withdrawalL : 0) / 30);
|
|
5493
5493
|
const monthText = lockupMonths > 1 ? "".concat(lockupMonths, " months") : "".concat(lockupMonths, " month");
|
|
5494
5494
|
const handleCloseModal = React.useCallback(() => {
|
|
5495
5495
|
reset();
|