Skip to content

Commit 2320900

Browse files
committed
fix(web): refresh the sidebar thread menu when the viewport crosses the mobile breakpoint
The context-menu callback read isMobile and navigateToThread without listing them, so a sidebar mounted on desktop kept offering "Open in split view" after shrinking below the mobile breakpoint. Written by Claude Fable 5.1 in Claude Code.
1 parent d917166 commit 2320900

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/web/src/components/Sidebar.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4201,7 +4201,9 @@ export default function Sidebar() {
42014201
copyThreadIdToClipboard,
42024202
deleteThread,
42034203
handleMultiSelectContextMenu,
4204+
isMobile,
42044205
markThreadUnread,
4206+
navigateToThread,
42054207
openProjectSettings,
42064208
projectByKey,
42074209
serverConfigs,

0 commit comments

Comments
 (0)