From da1f6e061d6b8e9352b343516c8b38e67253fcd4 Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Wed, 18 Jul 2018 09:49:43 -0230 Subject: [PATCH] Don't set txData to an empty string --- .../send-hex-data-row/send-hex-data-row.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () {