diff --git a/src/Components/chat/ChatPlace.tsx b/src/Components/chat/ChatPlace.tsx index 759dd0cc..131d7d07 100644 --- a/src/Components/chat/ChatPlace.tsx +++ b/src/Components/chat/ChatPlace.tsx @@ -170,7 +170,7 @@ const ChatPlace = ({ selectedUser }: { selectedUser: any }) => {
{message?.content} - {new Date(message.createdAt).getHours() + ":" + new Date(message.createdAt).getMinutes()} + {new Date(message.createdAt).getHours() + ":" + new Date(message.createdAt).getMinutes()}
) : ( @@ -179,7 +179,7 @@ const ChatPlace = ({ selectedUser }: { selectedUser: any }) => { {message?.content} - {new Date(message.createdAt).getHours() + ":" + new Date(message.createdAt).getMinutes()} + {new Date(message.createdAt).getHours() + ":" + new Date(message.createdAt).getMinutes()} )}