1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Remove 'goHome' from send_

This commit is contained in:
Dan 2018-04-30 14:08:03 -02:30
parent beb8d1cf5e
commit 954394f810
2 changed files with 1 additions and 4 deletions

View File

@ -3,7 +3,6 @@ import ethUtil from 'ethereumjs-util'
import {
addToAddressBook,
clearSend,
goHome,
signTokenTx,
signTx,
updateTransaction,
@ -58,7 +57,6 @@ function mapStateToProps (state) {
function mapDispatchToProps (dispatch) {
return {
goHome: () => dispatch(goHome()),
clearSend: () => dispatch(clearSend()),
sign: ({ selectedToken, to, amount, from, gas, gasPrice }) => {
const txParams = constructTxParams({

View File

@ -1,5 +1,5 @@
import { connect } from 'react-redux'
import { goHome, clearSend } from '../../../actions'
import { clearSend } from '../../../actions'
import SendHeader from './send-header.component'
import { getSelectedToken } from '../../../selectors'
@ -14,6 +14,5 @@ function mapStateToProps (state) {
function mapDispatchToProps (dispatch) {
return {
clearSend: () => dispatch(clearSend()),
goHome: () => dispatch(goHome()),
}
}