// @ts-nocheck
import { connect } from 'react-redux';
import { setGlobalErrors } from '@/store/globalErrors/globalErrors.actions';

export const mapDispatchToProps = (dispatch) => ({
  globalErrorsSet: (errors) => dispatch(setGlobalErrors(errors)),
});

export const withGlobalErrorsActions = connect(null, mapDispatchToProps);
