tek-wallet 0.0.302 → 0.0.305
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.
|
@@ -261,8 +261,8 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
261
261
|
return [2 /*return*/];
|
|
262
262
|
}
|
|
263
263
|
setRecipientAddress(tonTransferParam === null || tonTransferParam === void 0 ? void 0 : tonTransferParam.address);
|
|
264
|
-
withdrawToken = findWithdrawToken(tonTransferParam === null || tonTransferParam === void 0 ? void 0 : tonTransferParam.
|
|
265
|
-
if (withdrawToken) {
|
|
264
|
+
withdrawToken = findWithdrawToken((tonTransferParam === null || tonTransferParam === void 0 ? void 0 : tonTransferParam.jetton) || "");
|
|
265
|
+
if (!!withdrawToken) {
|
|
266
266
|
setSelectedToken(withdrawToken);
|
|
267
267
|
setAmount(tonTransferParam === null || tonTransferParam === void 0 ? void 0 : tonTransferParam.amount);
|
|
268
268
|
}
|
|
@@ -327,7 +327,7 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
327
327
|
minHeight: "2rem",
|
|
328
328
|
mb: theme.mixins.customMargin.m20,
|
|
329
329
|
}, overrideBack: handleBack, hideBack: currentStep === WithdrawStep.SELECT_METHOD, center: currentStep === WithdrawStep.CONFIRM
|
|
330
|
-
? "
|
|
330
|
+
? "Send ".concat(selectedToken === null || selectedToken === void 0 ? void 0 : selectedToken.name, " ").concat(selectedMethod === SendMethods.TRANSFER_EXTERNAL ? "externally" : "internally")
|
|
331
331
|
: WITHDRAW_STEP_NAME[currentStep], children: (0, jsx_runtime_1.jsx)(CloseModal_1.default, { sx: { marginLeft: "auto" }, onClick: close }) }), children: [(0, jsx_runtime_1.jsxs)(SwiperControlled_1.default, { ref: swiperRef, swiperProps: {
|
|
332
332
|
autoHeight: true,
|
|
333
333
|
spaceBetween: 32,
|
package/dist/theme/mui/theme.js
CHANGED
|
@@ -281,6 +281,8 @@ var theme = (0, styles_1.createTheme)({
|
|
|
281
281
|
fontSize: typography.fontSize14,
|
|
282
282
|
lineHeight: typography.leading140,
|
|
283
283
|
color: text.white64,
|
|
284
|
+
textAlign: "center",
|
|
285
|
+
padding: "".concat(customPadding.p8, " ").concat(customPadding.p16),
|
|
284
286
|
},
|
|
285
287
|
},
|
|
286
288
|
});
|