@huma-finance/widgets 0.0.62-beta.719 → 0.0.62-beta.720
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
|
@@ -10235,8 +10235,10 @@ function ApproveAllowance(_ref) {
|
|
|
10235
10235
|
iconWrapper: material.css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n & > img {\n width: 220px;\n }\n "])), theme.cssMixins.rowCentered, theme.spacing(6)),
|
|
10236
10236
|
description: material.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n padding: ", ";\n "])), theme.spacing(4), theme.palette.text.secondary, theme.spacing(0, 1))
|
|
10237
10237
|
};
|
|
10238
|
-
const
|
|
10239
|
-
|
|
10238
|
+
const {
|
|
10239
|
+
lockupEndTimeUnix,
|
|
10240
|
+
withdrawTimeUnix
|
|
10241
|
+
} = webShared.getLenderLockupDates((_poolState$withdrawal = poolState.withdrawalLockupPeriodDays) !== null && _poolState$withdrawal !== void 0 ? _poolState$withdrawal : 0);
|
|
10240
10242
|
return jsxRuntime.jsxs(WrapperModal, {
|
|
10241
10243
|
title: "Auto-Redemption",
|
|
10242
10244
|
children: [jsxRuntime.jsx(material.Box, {
|
|
@@ -10247,7 +10249,7 @@ function ApproveAllowance(_ref) {
|
|
|
10247
10249
|
})
|
|
10248
10250
|
}), jsxRuntime.jsxs(material.Box, {
|
|
10249
10251
|
css: styles.description,
|
|
10250
|
-
children: ["This allowance transaction will enable auto-redemption for your existing tranche shares. Redemption requests will be automatically submitted on", ' ', shared.timeUtil.timestampToLL(
|
|
10252
|
+
children: ["This allowance transaction will enable auto-redemption for your existing tranche shares. Redemption requests will be automatically submitted on", ' ', shared.timeUtil.timestampToLL(lockupEndTimeUnix), ". Your deposit can be redeemed and yield rewards will stop on", ' ', shared.timeUtil.timestampToLL(withdrawTimeUnix), "."]
|
|
10251
10253
|
}), jsxRuntime.jsx(BottomButton, {
|
|
10252
10254
|
variant: "contained",
|
|
10253
10255
|
onClick: handleNext,
|