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:
parent
346505cab0
commit
da1f6e061d
@ -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 () {
|
||||
|
Loading…
Reference in New Issue
Block a user