Skip to content

Commit

Permalink
ChatScreen UI fixes, logic rendering, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
tashfiqul-islam committed Oct 5, 2023
1 parent 4ddc2eb commit 3e778f3
Show file tree
Hide file tree
Showing 5 changed files with 326 additions and 122 deletions.
3 changes: 1 addition & 2 deletions Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ export const initializeConversation = async (patientID: string) => {
}

// Post a message in a chat
export const postMessage = (chatID: string, text: string) => {
const { userId: senderID } = useUser()
export const postMessage = (chatID: string, text: string, senderID: string) => {
const message = {
senderID: senderID,
text: text,
Expand Down
Loading

0 comments on commit 3e778f3

Please sign in to comment.