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 {
|
import {
|
||||||
addToAddressBook,
|
addToAddressBook,
|
||||||
clearSend,
|
clearSend,
|
||||||
goHome,
|
|
||||||
signTokenTx,
|
signTokenTx,
|
||||||
signTx,
|
signTx,
|
||||||
updateTransaction,
|
updateTransaction,
|
||||||
@ -58,7 +57,6 @@ function mapStateToProps (state) {
|
|||||||
|
|
||||||
function mapDispatchToProps (dispatch) {
|
function mapDispatchToProps (dispatch) {
|
||||||
return {
|
return {
|
||||||
goHome: () => dispatch(goHome()),
|
|
||||||
clearSend: () => dispatch(clearSend()),
|
clearSend: () => dispatch(clearSend()),
|
||||||
sign: ({ selectedToken, to, amount, from, gas, gasPrice }) => {
|
sign: ({ selectedToken, to, amount, from, gas, gasPrice }) => {
|
||||||
const txParams = constructTxParams({
|
const txParams = constructTxParams({
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { connect } from 'react-redux'
|
import { connect } from 'react-redux'
|
||||||
import { goHome, clearSend } from '../../../actions'
|
import { clearSend } from '../../../actions'
|
||||||
import SendHeader from './send-header.component'
|
import SendHeader from './send-header.component'
|
||||||
import { getSelectedToken } from '../../../selectors'
|
import { getSelectedToken } from '../../../selectors'
|
||||||
|
|
||||||
@ -14,6 +14,5 @@ function mapStateToProps (state) {
|
|||||||
function mapDispatchToProps (dispatch) {
|
function mapDispatchToProps (dispatch) {
|
||||||
return {
|
return {
|
||||||
clearSend: () => dispatch(clearSend()),
|
clearSend: () => dispatch(clearSend()),
|
||||||
goHome: () => dispatch(goHome()),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user