From 9405148462331cf8efb21de7f7f6c3c3202e6724 Mon Sep 17 00:00:00 2001 From: Keith Date: Thu, 20 Sep 2018 21:17:14 +0800 Subject: [PATCH] fix: fix sign flow --- packages/neuron-web/src/hoc/UniComp.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/neuron-web/src/hoc/UniComp.tsx b/packages/neuron-web/src/hoc/UniComp.tsx index 11c6560..0d0afa3 100644 --- a/packages/neuron-web/src/hoc/UniComp.tsx +++ b/packages/neuron-web/src/hoc/UniComp.tsx @@ -171,6 +171,7 @@ const UniComp = (Comp: typeof React.Component) => { }, }) } + return } if (account.address.toLowerCase() !== this.state.fromAccount.toLowerCase()) { if (chrome && chrome.runtime) { @@ -182,6 +183,7 @@ const UniComp = (Comp: typeof React.Component) => { }, }) } + return } if (chrome && chrome.runtime) { chrome.runtime.sendMessage({