1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Don't set txData to an empty string

This commit is contained in:
Whymarrh Whitby 2018-07-18 09:49:43 -02:30
parent 346505cab0
commit da1f6e061d

View File

@ -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 () {