diff options
Diffstat (limited to 'ui/app/components/send_/send.component.js')
-rw-r--r-- | ui/app/components/send_/send.component.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/send_/send.component.js b/ui/app/components/send_/send.component.js index 516251e2..38da4910 100644 --- a/ui/app/components/send_/send.component.js +++ b/ui/app/components/send_/send.component.js @@ -38,7 +38,7 @@ export default class SendTransactionScreen extends PersistentForm { updateSendTokenBalance: PropTypes.func, }; - updateGas ({ to } = {}) { + updateGas ({ to, amount: value } = {}) { const { amount, blockGasLimit, @@ -60,7 +60,7 @@ export default class SendTransactionScreen extends PersistentForm { selectedAddress, selectedToken, to: to && to.toLowerCase(), - value: amount, + value: value || amount, }) } |