src/applications/mhv-secure-messaging/reducers/alerts.js
Function alertsReducer
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const alertsReducer = (state = initialState, action) => {
switch (action.type) {
case Actions.Alerts.CLOSE_ALERT:
// Set visibility to false and set ALL alerts to inactive.
return {