aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-07-18 20:19:43 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-07-18 20:43:50 +0800
commitda1f6e061d6b8e9352b343516c8b38e67253fcd4 (patch)
treeb7d9779bb09c1015fb01ded3d3be336880295f92
parent346505cab0af1b685f6295f8253f04f39cf31b01 (diff)
downloadtangerine-wallet-browser-da1f6e061d6b8e9352b343516c8b38e67253fcd4.tar
tangerine-wallet-browser-da1f6e061d6b8e9352b343516c8b38e67253fcd4.tar.gz
tangerine-wallet-browser-da1f6e061d6b8e9352b343516c8b38e67253fcd4.tar.bz2
tangerine-wallet-browser-da1f6e061d6b8e9352b343516c8b38e67253fcd4.tar.lz
tangerine-wallet-browser-da1f6e061d6b8e9352b343516c8b38e67253fcd4.tar.xz
tangerine-wallet-browser-da1f6e061d6b8e9352b343516c8b38e67253fcd4.tar.zst
tangerine-wallet-browser-da1f6e061d6b8e9352b343516c8b38e67253fcd4.zip
Don't set txData to an empty string
-rw-r--r--ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.component.js b/ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.component.js
index 18d955c72..063930db3 100644
--- a/ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.component.js
+++ b/ui/app/components/send/send-content/send-hex-data-row/send-hex-data-row.component.js
@@ -16,7 +16,7 @@ export default class SendHexDataRow extends Component {
onInput = (event) => {
const {updateSendHexData} = this.props
event.target.value = event.target.value.replace(/\n/g, '')
- updateSendHexData(event.target.value)
+ updateSendHexData(event.target.value || null)
}
render () {