diff --git a/app/components/chat-list.tsx b/app/components/chat-list.tsx index 4e4358170..34882eec6 100644 --- a/app/components/chat-list.tsx +++ b/app/components/chat-list.tsx @@ -21,14 +21,39 @@ export function ChatItem(props: { time: string; selected: boolean; }) { - return ( + const [sidebarCollapse] = useChatStore((state) => [state.sidebarCollapse]); + return sidebarCollapse ? ( +