tek-wallet 0.0.802 → 0.0.804
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.
|
@@ -77,7 +77,7 @@ function Result(props) {
|
|
|
77
77
|
var status = (0, react_1.useMemo)(function () { return (response === null || response === void 0 ? void 0 : response.transaction_status) || "failed"; }, [response === null || response === void 0 ? void 0 : response.transaction_status]);
|
|
78
78
|
var recipientAddress = (0, react_1.useMemo)(function () { return (response === null || response === void 0 ? void 0 : response.to_address) || (payload === null || payload === void 0 ? void 0 : payload.to_address); }, [response === null || response === void 0 ? void 0 : response.to_address, payload === null || payload === void 0 ? void 0 : payload.to_address]);
|
|
79
79
|
var amount = (0, react_1.useMemo)(function () { return (response === null || response === void 0 ? void 0 : response.amount) || (payload === null || payload === void 0 ? void 0 : payload.amount); }, [response === null || response === void 0 ? void 0 : response.amount, payload === null || payload === void 0 ? void 0 : payload.amount]);
|
|
80
|
-
var
|
|
80
|
+
var memo = (0, react_1.useMemo)(function () { return (response === null || response === void 0 ? void 0 : response.description) || (payload === null || payload === void 0 ? void 0 : payload.memo); }, [response === null || response === void 0 ? void 0 : response.description, payload === null || payload === void 0 ? void 0 : payload.memo]);
|
|
81
81
|
var feeInfo = (0, react_1.useMemo)(function () { return response === null || response === void 0 ? void 0 : response.fee_info; }, [response === null || response === void 0 ? void 0 : response.fee_info]);
|
|
82
82
|
var dateCreated = (0, react_1.useMemo)(function () { return response === null || response === void 0 ? void 0 : response.date_created; }, [response === null || response === void 0 ? void 0 : response.date_created]);
|
|
83
83
|
var tokenName = (0, react_1.useMemo)(function () { var _a; return ((_a = response === null || response === void 0 ? void 0 : response.currency_data) === null || _a === void 0 ? void 0 : _a.name) || (selectedToken === null || selectedToken === void 0 ? void 0 : selectedToken.name); }, [(_a = response === null || response === void 0 ? void 0 : response.currency_data) === null || _a === void 0 ? void 0 : _a.name, selectedToken === null || selectedToken === void 0 ? void 0 : selectedToken.name]);
|
|
@@ -123,11 +123,11 @@ function Result(props) {
|
|
|
123
123
|
fontSize: "0.875rem",
|
|
124
124
|
fontWeight: 500,
|
|
125
125
|
color: "gray.700",
|
|
126
|
-
}, value: (0, jsx_runtime_1.jsxs)(material_1.Box, { className: "flex gap-2 items-center", children: [(0, jsx_runtime_1.jsx)(Icon_1.default, { src: networkInfo === null || networkInfo === void 0 ? void 0 : networkInfo.link, width: 20 }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.value), children: networkInfo === null || networkInfo === void 0 ? void 0 : networkInfo.name })] }), isAligned: true }),
|
|
126
|
+
}, value: (0, jsx_runtime_1.jsxs)(material_1.Box, { className: "flex gap-2 items-center", children: [(0, jsx_runtime_1.jsx)(Icon_1.default, { src: networkInfo === null || networkInfo === void 0 ? void 0 : networkInfo.link, width: 20 }), (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.value), children: networkInfo === null || networkInfo === void 0 ? void 0 : networkInfo.name })] }), isAligned: true }), memo && ((0, jsx_runtime_1.jsx)(InlineTitleValue_1.default, { title: "Memo", titleStyle: {
|
|
127
127
|
fontSize: "0.875rem",
|
|
128
128
|
fontWeight: 500,
|
|
129
129
|
color: "gray.700",
|
|
130
|
-
}, value: (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.value), children:
|
|
130
|
+
}, value: (0, jsx_runtime_1.jsx)(Text_1.default, { sx: __assign({}, theme.mixins.value), children: memo }), isAligned: true })), dateCreated && ((0, jsx_runtime_1.jsx)(InlineTitleValue_1.default, { title: "Date time", titleStyle: {
|
|
131
131
|
fontSize: "0.875rem",
|
|
132
132
|
fontWeight: 500,
|
|
133
133
|
color: "gray.700",
|