mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +01:00
21 lines
402 B
JavaScript
21 lines
402 B
JavaScript
import { connect } from 'react-redux'
|
|
import ConfirmTransactionSwitch from './confirm-transaction-switch.component'
|
|
|
|
const mapStateToProps = state => {
|
|
const {
|
|
confirmTransaction: {
|
|
txData,
|
|
methodData,
|
|
fetchingMethodData,
|
|
},
|
|
} = state
|
|
|
|
return {
|
|
txData,
|
|
methodData,
|
|
fetchingMethodData,
|
|
}
|
|
}
|
|
|
|
export default connect(mapStateToProps)(ConfirmTransactionSwitch)
|