Skip to content

Commit

Permalink
clean unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
roienatan committed Nov 30, 2023
1 parent 3c923d1 commit d44d1e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
11 changes: 0 additions & 11 deletions src/shared/components/Chat/ChatMessage/ChatMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
QueryParamKey,
} from "@/shared/constants";
import { Colors } from "@/shared/constants";
//import { useModal } from "@/shared/hooks";
import { useIsTabletView } from "@/shared/hooks/viewport";
import { ModerationFlags } from "@/shared/interfaces/Moderation";
import {
Expand Down Expand Up @@ -402,16 +401,6 @@ export default function ChatMessage({
</>
)}
</div>
{/* {isShowingUserProfile && isUserDiscussionMessage && (
<UserInfoPopup
commonId={discussionMessage.commonId}
userId={discussionMessage.ownerId}
avatar={discussionMessage.ownerAvatar}
isShowing={isShowingUserProfile}
onClose={onCloseUserProfile}
directParent={directParent}
/>
)} */}
</li>
);
}
10 changes: 0 additions & 10 deletions src/shared/components/Chat/ChatMessage/DMChatMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -459,16 +459,6 @@ export default function DMChatMessage({
</>
)}
</div>
{/* {isShowingUserProfile && isUserDiscussionMessage && (
<UserInfoPopup
commonId={discussionMessage.commonId}
userId={discussionMessage.ownerId}
avatar={discussionMessage.ownerAvatar}
isShowing={isShowingUserProfile}
onClose={onCloseUserProfile}
directParent={directParent}
/>
)} */}
</li>
);
}

0 comments on commit d44d1e2

Please sign in to comment.