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 @@ -8,10 +8,7 @@ import ChatThreadListItemMenu from './chat-thread-list-item-menu.react.js'; import css from './chat-thread-list.css'; import SidebarItem from './sidebar-item.react.js'; -import { - useOnClickThread, - useThreadIsActive, -} from '../selectors/thread-selectors.js'; +import { useThreadIsActive } from '../selectors/thread-selectors.js'; type Props = { +sidebarInfo: SidebarInfo, @@ -26,18 +23,16 @@ } = threadInfo; const active = useThreadIsActive(threadID); - const onClick = useOnClickThread(threadInfo); let unreadDot; if (unread) { unreadDot =
; } return ( -