aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/send-v2.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@gmail.com>2018-03-29 04:21:53 +0800
committerAlexander Tseung <alextsg@gmail.com>2018-03-29 04:23:50 +0800
commit58f52b2b8de9efd43896e23ab0ac9972f45bb278 (patch)
treecb1cca580f1ea1986eeb82b3271a5f013b3e6498 /ui/app/send-v2.js
parent6f367a5a6b4fb8918405f233293dc3f4840b4a3d (diff)
downloadtangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar
tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar.gz
tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar.bz2
tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar.lz
tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar.xz
tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.tar.zst
tangerine-wallet-browser-58f52b2b8de9efd43896e23ab0ac9972f45bb278.zip
Fix merge conflicts. Refactor onboarding flow.
Diffstat (limited to 'ui/app/send-v2.js')
-rw-r--r--ui/app/send-v2.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js
index df819dbd8..9e0ede720 100644
--- a/ui/app/send-v2.js
+++ b/ui/app/send-v2.js
@@ -186,7 +186,7 @@ SendTransactionScreen.prototype.componentDidUpdate = function (prevProps) {
}
SendTransactionScreen.prototype.renderHeader = function () {
- const { selectedToken, clearSend, goHome } = this.props
+ const { selectedToken, clearSend, history } = this.props
return h('div.page-container__header', [
@@ -197,7 +197,7 @@ SendTransactionScreen.prototype.renderHeader = function () {
h('div.page-container__header-close', {
onClick: () => {
clearSend()
- goHome()
+ history.goBack()
},
}),