Skip to content

The agent that grows with you

style(desktop): satisfy jsx-prop sort on the recents section card prop

Brooklyn Nicholson8403595f78aa
diff --git a/apps/desktop/src/app/chat/sidebar/index.tsx b/apps/desktop/src/app/chat/sidebar/index.tsx
index 10556dff1ff..4fb0bc0c4dd 100644
--- a/apps/desktop/src/app/chat/sidebar/index.tsx
+++ b/apps/desktop/src/app/chat/sidebar/index.tsx
@@ -1552,6 +1552,10 @@ export function ChatSidebar({
<SidebarSessionsSection
activeProjectId={activeProjectId}
activeSessionId={activeSidebarSessionId}
+ // Inbox style is a render variant, not a grouping: only the
+ // flat recents list opts in, and only outside the project tree
+ // (whose rows already carry workspace context).
+ card={cardRows && !agentsGrouped}
collapsible={!inProject}
contentClassName={cn(
'flex min-h-0 flex-1 flex-col gap-px pb-1.75',
@@ -1600,10 +1604,6 @@ export function ChatSidebar({
// list does — only the flat list can swap its dividers for
// WORKING / DONE.
grouping={showArchived || rankedGlobally ? 'none' : grouping === 'status' ? 'status' : 'date'}
- // Inbox style is a render variant, not a grouping: only the
- // flat recents list opts in, and only outside the project tree
- // (whose rows already carry workspace context).
- card={cardRows && !agentsGrouped}
groups={displayAgentGroups}
headerAction={
inProject && enteredProject ? (