From 85d541790ab21a379eccd3ca09643caeab0c617e Mon Sep 17 00:00:00 2001 From: Bruno Barbieri <1247834+brunobar79@users.noreply.github.com> Date: Fri, 21 Jul 2023 03:06:56 +0200 Subject: [PATCH] fix send crash (#766) --- src/entries/popup/pages/send/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entries/popup/pages/send/index.tsx b/src/entries/popup/pages/send/index.tsx index 7399445e05..850571f5fd 100644 --- a/src/entries/popup/pages/send/index.tsx +++ b/src/entries/popup/pages/send/index.tsx @@ -311,7 +311,7 @@ export function Send() { if ( !prevToAddressIsSmartContract && toAddressIsSmartContract && - !toEnsName.includes('argent.xyz') + !toEnsName?.includes('argent.xyz') ) { showToContractExplainer(); }