mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 16:18:07 +01:00
13 lines
363 B
JavaScript
13 lines
363 B
JavaScript
import { connect } from 'react-redux';
|
|
import { getSendErrors } from '../../../../../ducks/send';
|
|
import SendRowErrorMessage from './send-row-error-message.component';
|
|
|
|
export default connect(mapStateToProps)(SendRowErrorMessage);
|
|
|
|
function mapStateToProps(state, ownProps) {
|
|
return {
|
|
errors: getSendErrors(state),
|
|
errorType: ownProps.errorType,
|
|
};
|
|
}
|