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 (
-
+
{/* Sidebar toggle */}
+ {onNewChat && (
+
+ )}
)
}
@@ -5388,6 +5401,7 @@ function App() {
{/* Rendered last so its no-drag region paints over the sidebar drag region */}
diff --git a/apps/x/apps/renderer/src/components/sidebar-content.tsx b/apps/x/apps/renderer/src/components/sidebar-content.tsx
index f4c469bc..88654f68 100644
--- a/apps/x/apps/renderer/src/components/sidebar-content.tsx
+++ b/apps/x/apps/renderer/src/components/sidebar-content.tsx
@@ -21,7 +21,6 @@ import {
Pencil,
Radio,
SearchIcon,
- SquarePen,
Table2,
Plug,
Lightbulb,
@@ -591,16 +590,6 @@ export function SidebarContentPanel({
{/* Quick action buttons */}
- {onNewChat && (
-
- )}
{onOpenSearch && (