mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
30a2be85ee
* Prevent users from changing the From field in the send screen * Fix integration tests
12 lines
293 B
JavaScript
12 lines
293 B
JavaScript
import { connect } from 'react-redux'
|
|
import { getSendFromObject } from '../../send.selectors.js'
|
|
import SendFromRow from './send-from-row.component'
|
|
|
|
function mapStateToProps (state) {
|
|
return {
|
|
from: getSendFromObject(state),
|
|
}
|
|
}
|
|
|
|
export default connect(mapStateToProps)(SendFromRow)
|