| ... | ... | @@ -138,7 +138,8 @@ export function AppSidebarLayout({ children }: { children: ReactNode }) { |
| 138 | 138 | className="border-r border-border bg-card text-foreground" |
| 139 | 139 | resizable={{ |
| 140 | 140 | minWidth: THREAD_SIDEBAR_MIN_WIDTH, |
| 141 | | shouldAcceptWidth: ({ nextWidth, wrapper }) => |
| 141 | shouldAcceptWidth: ({ currentWidth, nextWidth, wrapper }) => |
| 142 | nextWidth <= currentWidth || |
| 142 | 143 | wrapper.clientWidth - nextWidth >= THREAD_MAIN_CONTENT_MIN_WIDTH, |
| 143 | 144 | storageKey: THREAD_SIDEBAR_WIDTH_STORAGE_KEY, |
| 144 | 145 | }} |