1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 22:24:27 +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)