aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send_/send-content/send-row-wrapper/send-row-error-message/send-row-error-message.container.js
blob: 2278dbe63d7bed7f68af5c291845f8b023c45da9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { getSendErrors } from '../../../send.selectors'
import SendRowErrorMessage from './send-row-error-message.component'

export default connect(mapStateToProps)(SendRowErrorMessage)

function mapStateToProps (state, ownProps) {
  return {
    errors: getSendErrors(state),
    errorType: ownProps.errorType,
  }
}