diff options
author | Dan J Miller <danjm.com@gmail.com> | 2018-02-13 14:39:15 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-02-13 14:39:15 +0800 |
commit | e4c83466befc439f26cdd9c32d130b367bc552a7 (patch) | |
tree | 3c1216c5e70300d909ff6f80a266849f94b10aa9 /ui/app/send-v2.js | |
parent | fe2ed68f1139046d163ec3d85f31d61ae5fbd989 (diff) | |
download | tangerine-wallet-browser-e4c83466befc439f26cdd9c32d130b367bc552a7.tar tangerine-wallet-browser-e4c83466befc439f26cdd9c32d130b367bc552a7.tar.gz tangerine-wallet-browser-e4c83466befc439f26cdd9c32d130b367bc552a7.tar.bz2 tangerine-wallet-browser-e4c83466befc439f26cdd9c32d130b367bc552a7.tar.lz tangerine-wallet-browser-e4c83466befc439f26cdd9c32d130b367bc552a7.tar.xz tangerine-wallet-browser-e4c83466befc439f26cdd9c32d130b367bc552a7.tar.zst tangerine-wallet-browser-e4c83466befc439f26cdd9c32d130b367bc552a7.zip |
Send screen style updates. (#3234)
Diffstat (limited to 'ui/app/send-v2.js')
-rw-r--r-- | ui/app/send-v2.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ui/app/send-v2.js b/ui/app/send-v2.js index d4e15dfa8..1d67150e3 100644 --- a/ui/app/send-v2.js +++ b/ui/app/send-v2.js @@ -179,7 +179,7 @@ SendTransactionScreen.prototype.componentDidUpdate = function (prevProps) { } SendTransactionScreen.prototype.renderHeader = function () { - const { selectedToken } = this.props + const { selectedToken, clearSend, goHome } = this.props const tokenText = selectedToken ? 'tokens' : 'ETH' return h('div.page-container__header', [ @@ -188,10 +188,13 @@ SendTransactionScreen.prototype.renderHeader = function () { h('div.page-container__subtitle', `Only send ${tokenText} to an Ethereum address.`), - h( - 'div.page-container__subtitle', - 'Sending to a different crytpocurrency that is not Ethereum may result in permanent loss.' - ), + h('div.page-container__header-close', { + onClick: () => { + clearSend() + goHome() + }, + }), + ]) } |