diff --git a/.vscode/launch.json b/.vscode/launch.json index 675e19b5c..ffa7de961 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,6 +1,7 @@ { "version": "0.2.0", "configurations": [ + { "name": "Chrome", "type": "chrome", @@ -8,6 +9,12 @@ "url": "http://localhost:3000", "webRoot": "${workspaceRoot}/src" + },{ + "name": "Yarn Dev Server", + "type": "node", + "request": "launch", +"runtimeExecutable": "yarn", +"runtimeArgs": ["dev"] } ] } \ No newline at end of file diff --git a/client/src/components/chat-conversation-list/chat-conversation-list.component.jsx b/client/src/components/chat-conversation-list/chat-conversation-list.component.jsx index e7eb370c5..10100a3c8 100644 --- a/client/src/components/chat-conversation-list/chat-conversation-list.component.jsx +++ b/client/src/components/chat-conversation-list/chat-conversation-list.component.jsx @@ -1,12 +1,12 @@ -import { Badge, List, Avatar } from "antd"; +import { Badge, List } from "antd"; import React from "react"; +import { useTranslation } from "react-i18next"; import { connect } from "react-redux"; +import { createStructuredSelector } from "reselect"; import { setSelectedConversation } from "../../redux/messaging/messaging.actions"; import { selectSelectedConversation } from "../../redux/messaging/messaging.selectors"; -import { createStructuredSelector } from "reselect"; -import "./chat-conversation-list.styles.scss"; -import { useTranslation } from "react-i18next"; import PhoneFormatter from "../../utils/PhoneFormatter"; +import "./chat-conversation-list.styles.scss"; const mapStateToProps = createStructuredSelector({ selectedConversation: selectSelectedConversation, diff --git a/client/src/components/chat-conversation-title/chat-conversation-title.component.jsx b/client/src/components/chat-conversation-title/chat-conversation-title.component.jsx index 00c05f76a..75c305320 100644 --- a/client/src/components/chat-conversation-title/chat-conversation-title.component.jsx +++ b/client/src/components/chat-conversation-title/chat-conversation-title.component.jsx @@ -1,10 +1,9 @@ +import { Space } from "antd"; import React from "react"; -import ChatTagRoContainer from "../chat-tag-ro/chat-tag-ro.container"; import ChatConversationTitleTags from "../chat-conversation-title-tags/chat-conversation-title-tags.component"; -import { Typography, Space } from "antd"; +import ChatTagRoContainer from "../chat-tag-ro/chat-tag-ro.container"; export default function ChatConversationTitle({ conversation }) { - console.log("ChatConversationTitle -> conversation", conversation); return (