From 215e0aedd6c4736a50abc675242b5acbff67f60c Mon Sep 17 00:00:00 2001 From: Arjun <6592213+arkml@users.noreply.github.com> Date: Mon, 18 May 2026 23:18:47 +0530 Subject: [PATCH] make new chat an icon on the top --- apps/x/apps/renderer/src/App.tsx | 16 +++++++++++++++- .../renderer/src/components/sidebar-content.tsx | 11 ----------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/apps/x/apps/renderer/src/App.tsx b/apps/x/apps/renderer/src/App.tsx index e6c050b3..cac3dbf4 100644 --- a/apps/x/apps/renderer/src/App.tsx +++ b/apps/x/apps/renderer/src/App.tsx @@ -622,12 +622,14 @@ function parseDeepLink(input: string): ViewState | null { /** Sidebar toggle (fixed position, top-left) */ function FixedSidebarToggle({ leftInsetPx, + onNewChat, }: { leftInsetPx: number + onNewChat?: () => void }) { const { toggleSidebar } = useSidebar() return ( -