mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-02 14:15:06 +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)
|