From 4b62490e8046208222c393438ec22dedc14b2265 Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Fri, 26 Apr 2019 13:59:58 +0200 Subject: [PATCH] [#8051] TypeError (evaluating 'a.replace') when logging out with wallet is on 'Send transaction' screen Signed-off-by: Igor Mandrigin --- src/status_im/ui/screens/wallet/send/subs.cljs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/status_im/ui/screens/wallet/send/subs.cljs b/src/status_im/ui/screens/wallet/send/subs.cljs index ff80ca220e..2dae90ce35 100644 --- a/src/status_im/ui/screens/wallet/send/subs.cljs +++ b/src/status_im/ui/screens/wallet/send/subs.cljs @@ -94,4 +94,5 @@ :wallet.send/signing-phrase-with-padding :<- [:account/account] (fn [{:keys [signing-phrase]}] - (clojure.string/replace-all signing-phrase #" " " "))) + (when signing-phrase + (clojure.string/replace-all signing-phrase #" " " "))))