1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-28 05:12:18 +01:00
metamask-extension/ui/app/components/pages/confirm-transaction-switch/confirm-transaction-switch.container.js

21 lines
402 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux'
import ConfirmTransactionSwitch from './confirm-transaction-switch.component'
const mapStateToProps = state => {
2018-07-06 20:58:41 +02:00
const {
confirmTransaction: {
txData,
methodData,
fetchingMethodData,
},
} = state
return {
2018-07-06 20:58:41 +02:00
txData,
methodData,
fetchingMethodData,
}
}
export default connect(mapStateToProps)(ConfirmTransactionSwitch)