@huma-finance/widgets 0.0.63-beta.736 → 0.0.63-beta.737
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
|
@@ -5472,7 +5472,7 @@ function PointsEarned(_ref) {
|
|
|
5472
5472
|
pointsAccumulated
|
|
5473
5473
|
} = useAppSelector(selectWidgetState);
|
|
5474
5474
|
const hasPointsAccumulated = !isEmpty(pointsAccumulated) && pointsAccumulated > 0;
|
|
5475
|
-
const lockupMonths = Math.round((_lpConfig$withdrawalL = lpConfig.withdrawalLockupPeriodDays) !== null && _lpConfig$withdrawalL !== void 0 ? _lpConfig$withdrawalL : 0 / 30);
|
|
5475
|
+
const lockupMonths = Math.round(((_lpConfig$withdrawalL = lpConfig.withdrawalLockupPeriodDays) !== null && _lpConfig$withdrawalL !== void 0 ? _lpConfig$withdrawalL : 0) / 30);
|
|
5476
5476
|
const monthText = lockupMonths > 1 ? "".concat(lockupMonths, " months") : "".concat(lockupMonths, " month");
|
|
5477
5477
|
const handleCloseModal = useCallback(() => {
|
|
5478
5478
|
reset();
|