From 5d12a59bc19f1407936c8b0d0f77d9d1423cb02b Mon Sep 17 00:00:00 2001 From: Hardik Vora <42842779+vorahardik7@users.noreply.github.com> Date: Fri, 6 Mar 2026 08:56:59 -0800 Subject: [PATCH] fix: added chat history button on mobile view (#736) --- apps/web/components/chat/index.tsx | 50 ++++++++++++++---------------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/apps/web/components/chat/index.tsx b/apps/web/components/chat/index.tsx index a67a1f39..a29cb250 100644 --- a/apps/web/components/chat/index.tsx +++ b/apps/web/components/chat/index.tsx @@ -660,31 +660,30 @@ export function ChatSidebar({ onModelChange={setSelectedModel} />
- {!isMobile && ( - { - setIsHistoryOpen(open) - if (open) { - fetchThreads() - analytics.chatHistoryViewed?.() - } else { - setConfirmingDeleteId(null) - } - }} - > - - - + { + setIsHistoryOpen(open) + if (open) { + fetchThreads() + analytics.chatHistoryViewed?.() + } else { + setConfirmingDeleteId(null) + } + }} + > + + + Chat History @@ -783,7 +782,6 @@ export function ChatSidebar({ - )}