Page MenuHomePhabricator

D3099.id9263.diff
No OneTemporary

D3099.id9263.diff

diff --git a/web/chat/chat-thread-list-sidebar.react.js b/web/chat/chat-thread-list-sidebar.react.js
--- a/web/chat/chat-thread-list-sidebar.react.js
+++ b/web/chat/chat-thread-list-sidebar.react.js
@@ -6,7 +6,6 @@
import type { SidebarInfo } from 'lib/types/thread-types';
import { useThreadIsActive } from '../selectors/nav-selectors';
-import ChatThreadListItemMenu from './chat-thread-list-item-menu.react';
import css from './chat-thread-list.css';
import SidebarItem from './sidebar-item.react';
@@ -15,7 +14,7 @@
};
function ChatThreadListSidebar(props: Props): React.Node {
const { sidebarInfo } = props;
- const { threadInfo, mostRecentNonLocalMessage } = sidebarInfo;
+ const { threadInfo } = sidebarInfo;
const threadID = threadInfo.id;
const active = useThreadIsActive(threadID);
const activeStyle = active ? css.activeThread : null;
@@ -24,10 +23,6 @@
className={classNames(css.threadListSideBar, css.sidebar, activeStyle)}
>
<SidebarItem sidebarInfo={sidebarInfo} />
- <ChatThreadListItemMenu
- threadInfo={threadInfo}
- mostRecentNonLocalMessage={mostRecentNonLocalMessage}
- />
</div>
);
}

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 6:43 AM (22 h, 32 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2543283
Default Alt Text
D3099.id9263.diff (1 KB)

Event Timeline