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

View File

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