tek-wallet 0.0.176 → 0.0.177
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.
|
@@ -76,7 +76,7 @@ var LockToken = function (props) {
|
|
|
76
76
|
var _d = (0, react_1.useState)(undefined), errorAmount = _d[0], setErrorAmount = _d[1];
|
|
77
77
|
var _e = (0, react_1.useState)(Button_1.BUTTON_STATUS.ENABLED), buttonStatus = _e[0], setButtonStatus = _e[1];
|
|
78
78
|
var validateAmount = (0, react_1.useCallback)(function (lockData) {
|
|
79
|
-
console.warn("🚀 ~ validateAmount ~ lockData:", lockData);
|
|
79
|
+
console.warn("🚀 ~ validateAmount ~ lockData:", lockData, lockTokens);
|
|
80
80
|
var token = lockTokens === null || lockTokens === void 0 ? void 0 : lockTokens.find(function (token) { return token.slug === lockData.tokenSlug; });
|
|
81
81
|
if (!token) {
|
|
82
82
|
setError(LockTokenError.TOKEN_NOT_FOUND);
|