fix `data` string not being updated after modifying a reviewed tx

This commit is contained in:
fernandomg 2020-06-03 14:04:58 -03:00
parent e3a9945675
commit 0cf786e8d1
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ const ContractInteraction = ({ contractAddress, initialValues, onClose, onNext }
return
}
onNext({ contractAddress, data, selectedMethod, value, ...values })
onNext({ ...values, contractAddress, data, selectedMethod, value })
} catch (error) {
return handleSubmitError(error, values)
}