aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/send-content/send-to-row/send-to-row.container.js
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-10-01 20:50:33 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-10-01 23:23:32 +0800
commitce2e068b436f5e04c89bbef5c43afb23bd05b919 (patch)
tree8409374b3b92a1225fcbb7539372da4429ab52f6 /ui/app/components/send/send-content/send-to-row/send-to-row.container.js
parentc9f22916dd026445b2eb0ba343b54cc672fdf6f0 (diff)
downloadtangerine-wallet-browser-ce2e068b436f5e04c89bbef5c43afb23bd05b919.tar.gz
tangerine-wallet-browser-ce2e068b436f5e04c89bbef5c43afb23bd05b919.tar.zst
tangerine-wallet-browser-ce2e068b436f5e04c89bbef5c43afb23bd05b919.zip
Recipient not required on send screen when hex data present
Diffstat (limited to 'ui/app/components/send/send-content/send-to-row/send-to-row.container.js')
-rw-r--r--ui/app/components/send/send-content/send-to-row/send-to-row.container.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/send/send-content/send-to-row/send-to-row.container.js b/ui/app/components/send/send-content/send-to-row/send-to-row.container.js
index 1c9c9d518..3ee188bad 100644
--- a/ui/app/components/send/send-content/send-to-row/send-to-row.container.js
+++ b/ui/app/components/send/send-content/send-to-row/send-to-row.container.js
@@ -3,6 +3,7 @@ import {
getCurrentNetwork,
getSendTo,
getSendToAccounts,
+ getSendHexData,
} from '../../send.selectors.js'
import {
getToDropdownOpen,
@@ -22,6 +23,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(SendToRow)
function mapStateToProps (state) {
return {
+ hasHexData: Boolean(getSendHexData(state)),
inError: sendToIsInError(state),
network: getCurrentNetwork(state),
to: getSendTo(state),