1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-24 04:13:27 +02:00
metamask-extension/ui/app/components/send/send-content/send-from-row/send-from-row.container.js
Alexander Tseung 30a2be85ee
Prevent users from changing the From field in the send screen (#5922)
* Prevent users from changing the From field in the send screen

* Fix integration tests
2018-12-13 18:19:36 -08:00

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)