tek-wallet 0.0.354 → 0.0.355
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.
|
@@ -425,6 +425,10 @@ var WithdrawFunction = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
425
425
|
// if(validateWalletAddress?.is_current_wallet) {
|
|
426
426
|
// return
|
|
427
427
|
// }
|
|
428
|
+
if (validateWalletAddress === null || validateWalletAddress === void 0 ? void 0 : validateWalletAddress.is_current_wallet) {
|
|
429
|
+
setInfoDialogContent("You can not send to your own wallet");
|
|
430
|
+
return [2 /*return*/];
|
|
431
|
+
}
|
|
428
432
|
if (!!(validateWalletAddress === null || validateWalletAddress === void 0 ? void 0 : validateWalletAddress.valid)) {
|
|
429
433
|
setRecipientAddressError(undefined);
|
|
430
434
|
}
|