You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
362 B
13 lines
362 B
4 years ago
|
import { connect } from 'react-redux';
|
||
|
import { getSendErrors } from '../../../../../selectors';
|
||
|
import SendRowErrorMessage from './send-row-error-message.component';
|
||
7 years ago
|
|
||
4 years ago
|
export default connect(mapStateToProps)(SendRowErrorMessage);
|
||
7 years ago
|
|
||
4 years ago
|
function mapStateToProps(state, ownProps) {
|
||
7 years ago
|
return {
|
||
|
errors: getSendErrors(state),
|
||
|
errorType: ownProps.errorType,
|
||
4 years ago
|
};
|
||
7 years ago
|
}
|