Fix retry transaction (#8177)

The `createRetryTransaction` was accidentally removed from the
`gas-modal-page-container` component during a refactor in #7730.
Attempting to retry a transaction since that change has resulted in a
UI crash.
feature/default_network_editable
Mark Stacey 5 years ago committed by GitHub
parent 5c4831bdee
commit ad5174a588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ui/app/components/app/gas-customization/gas-modal-page-container/gas-modal-page-container.container.js

@ -5,6 +5,7 @@ import {
hideModal, hideModal,
setGasLimit, setGasLimit,
setGasPrice, setGasPrice,
createRetryTransaction,
createSpeedUpTransaction, createSpeedUpTransaction,
hideSidebar, hideSidebar,
updateSendAmount, updateSendAmount,
@ -185,6 +186,9 @@ const mapDispatchToProps = (dispatch) => {
dispatch(setCustomGasLimit(addHexPrefix(gasLimit.toString(16)))) dispatch(setCustomGasLimit(addHexPrefix(gasLimit.toString(16))))
return dispatch(updateTransaction(updatedTx)) return dispatch(updateTransaction(updatedTx))
}, },
createRetryTransaction: (txId, gasPrice) => {
return dispatch(createRetryTransaction(txId, gasPrice))
},
createSpeedUpTransaction: (txId, gasPrice) => { createSpeedUpTransaction: (txId, gasPrice) => {
return dispatch(createSpeedUpTransaction(txId, gasPrice)) return dispatch(createSpeedUpTransaction(txId, gasPrice))
}, },

Loading…
Cancel
Save