department-of-veterans-affairs/vets-website

View on GitHub
src/applications/representative-search/actions/error/clearError.js

Summary

Maintainability
A
0 mins
Test Coverage
import { CLEAR_ERROR } from '../../utils/actionTypes';

export const clearError = errorType => async dispatch => {
  dispatch({
    type: CLEAR_ERROR,
    payload: { errorType },
  });
};