General formatting for messaging + reshaping of messaging components and their structure.

This commit is contained in:
Patrick Fic
2020-02-21 13:20:41 -08:00
parent 9b39f28ced
commit 0639131936
17 changed files with 273 additions and 107 deletions

View File

@@ -1,7 +1,11 @@
import MessagingActionTypes from './messaging.types'
import MessagingActionTypes from "./messaging.types";
export const toggleChatVisible = () => ({
type: MessagingActionTypes.TOGGLE_CHAT_VISIBLE,
type: MessagingActionTypes.TOGGLE_CHAT_VISIBLE
//payload: user
});
export const toggleConversationVisible = conversationId => ({
type: MessagingActionTypes.TOGGLE_CONVERSATION_VISIBLE,
payload: conversationId
});