From baa0c67ad1bf0c226b2a187277119616ae1d02c0 Mon Sep 17 00:00:00 2001 From: Swetha-Baskaran Date: Sat, 16 Dec 2023 23:10:02 +0530 Subject: [PATCH] removed commented code --- src/components/CommunityChat/index.jsx | 83 -------------------------- 1 file changed, 83 deletions(-) diff --git a/src/components/CommunityChat/index.jsx b/src/components/CommunityChat/index.jsx index e2ba036e7..e9539e4ee 100644 --- a/src/components/CommunityChat/index.jsx +++ b/src/components/CommunityChat/index.jsx @@ -410,89 +410,6 @@ const ChatBox = () => { ))} ))} - - {/* correct code */} - {console.log("msgs", messages)} - {/* {messages.map((message) => ( -
  • - {message.displayName} goToUserProfile(message.uid)} - /> -
    - -
    goToUserProfile(message.uid)} - > - {user?.uid === message?.uid - ? "You" - : message.displayName} -
    - -
    - {getTime(message?.createdAt?.seconds)} -
    - - {user.uid === message.uid && ( - - { - setOpenOptions(true); - handleOpenOptions(message.id); - }} - /> - {openOptions && openOptions === message.id && ( - setOpenOptions(false)} - > -
    - handleDeletMsg(message.id)} - > - - Delete - - handleEditMsg(message.id)} - > - - Edit - -
    -
    - )} -
    - )} -
    -
    -

    {message.text}

    - {message.edited && ( -
    - Edited -
    - )} - {message.reaction && ( -
      - {getReaction(message.reaction)} -
    - )} -
    -
  • - ))} */} )}