import {UPDATE_MESSAGES, DESTROY_MESSAGE} from '../../constants/notificationConstants';

export const destroyMessage = () => ({type: DESTROY_MESSAGE, messages: []});
export const updateMessages = (json, messageObj) => ({type: UPDATE_MESSAGES, updateMessages: {messageJson: json, messageObj}});
