Skip to content

Commit

Permalink
fix: fix sign flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Sep 20, 2018
1 parent 135bc82 commit 9405148
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/neuron-web/src/hoc/UniComp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ const UniComp = (Comp: typeof React.Component) => {
},
})
}
return
}
if (account.address.toLowerCase() !== this.state.fromAccount.toLowerCase()) {
if (chrome && chrome.runtime) {
Expand All @@ -182,6 +183,7 @@ const UniComp = (Comp: typeof React.Component) => {
},
})
}
return
}
if (chrome && chrome.runtime) {
chrome.runtime.sendMessage({
Expand Down

0 comments on commit 9405148

Please sign in to comment.