  if (webConsoleUI && action.type === MESSAGES_CLEAR) {
        webConsoleUI.clearNetworkRequests();
        webConsoleUI.clearMessagesCache();
      }
      return state;
    }

    return next(messagesCacheClearingEnhancer, initialState, enhancer);
  };
}

module.exports = enableMessagesCacheClearing;
PK