tek-wallet 0.0.451 → 0.0.452
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.
|
@@ -59,7 +59,7 @@ function ActivitiesTypeSlice(props) {
|
|
|
59
59
|
take: 10,
|
|
60
60
|
});
|
|
61
61
|
}, [isActive, type, activitiesByType, updateActivities]);
|
|
62
|
-
return ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: { width: "100%", height: "100%", display: "flex" }, children: [status === Status.Loading && (0, jsx_runtime_1.jsx)(WaitingData_1.default, {}), status === Status.Empty && ((0, jsx_runtime_1.jsx)(EmptyData_1.default, { sx: { margin: "auto" }, icon: (0, getIcon_1.default)(prefix + "empty_" + type.slug), description: "No ".concat((_a = type.name) === null || _a === void 0 ? void 0 : _a.toLowerCase(), " activity") })), status === Status.Filled && ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g12, paddingTop: theme.mixins.customPadding.p16 }), children: activitiesByType === null || activitiesByType === void 0 ? void 0 : activitiesByType.map(function (activity, index) {
|
|
62
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Box, { sx: { width: "100%", height: "100%", display: "flex" }, children: [status === Status.Loading && (0, jsx_runtime_1.jsx)(WaitingData_1.default, { sx: { margin: "auto" } }), status === Status.Empty && ((0, jsx_runtime_1.jsx)(EmptyData_1.default, { sx: { margin: "auto" }, icon: (0, getIcon_1.default)(prefix + "empty_" + type.slug), description: "No ".concat((_a = type.name) === null || _a === void 0 ? void 0 : _a.toLowerCase(), " activity") })), status === Status.Filled && ((0, jsx_runtime_1.jsx)(material_1.Box, { sx: __assign(__assign({}, theme.mixins.column), { gap: theme.mixins.gaps.g12, paddingTop: theme.mixins.customPadding.p16 }), children: activitiesByType === null || activitiesByType === void 0 ? void 0 : activitiesByType.map(function (activity, index) {
|
|
63
63
|
if (!activity)
|
|
64
64
|
return null;
|
|
65
65
|
var dataAsJson = JSON.stringify(activity);
|
|
@@ -80,7 +80,7 @@ var get_receive_external_tokens_list_service_1 = __importDefault(require("../../
|
|
|
80
80
|
var useWalletData_1 = __importDefault(require("../../hooks/useWalletData"));
|
|
81
81
|
var get_receive_internal_tokens_list_service_1 = __importDefault(require("../../services/axios/get-receive-internal-tokens-list-service"));
|
|
82
82
|
exports.initialReceive = {
|
|
83
|
-
isLoadingReceiveExternalToken:
|
|
83
|
+
isLoadingReceiveExternalToken: false,
|
|
84
84
|
receiveExternalTokens: undefined,
|
|
85
85
|
updateReceiveExternalToken: function () { },
|
|
86
86
|
isLoadingReceiveInternalToken: true,
|
|
@@ -79,7 +79,7 @@ var react_1 = __importStar(require("react"));
|
|
|
79
79
|
var useWalletData_1 = __importDefault(require("../../hooks/useWalletData"));
|
|
80
80
|
var get_withdraw_tokens_list_service_1 = __importDefault(require("../../services/axios/get-withdraw-tokens-list-service"));
|
|
81
81
|
exports.initialWithdraw = {
|
|
82
|
-
isLoadingWithdrawToken:
|
|
82
|
+
isLoadingWithdrawToken: false,
|
|
83
83
|
withdrawTokens: undefined,
|
|
84
84
|
updateWithdrawToken: function () { },
|
|
85
85
|
isLoadingSendInternalToken: true,
|