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:
parent
beb8d1cf5e
commit
954394f810
@ -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({
|
||||
|
@ -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()),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user