From c00b29145a70ea14b9ace08c0b163ec76b96b34d Mon Sep 17 00:00:00 2001 From: Shantur Rathore Date: Sun, 14 Dec 2025 17:07:17 +0000 Subject: [PATCH] limit cached session views on tab switch --- packages/ui/src/components/instance/instance-shell2.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/ui/src/components/instance/instance-shell2.tsx b/packages/ui/src/components/instance/instance-shell2.tsx index a12eb257..69662ea3 100644 --- a/packages/ui/src/components/instance/instance-shell2.tsx +++ b/packages/ui/src/components/instance/instance-shell2.tsx @@ -490,7 +490,6 @@ const InstanceShell2: Component = (props) => { append(parentId) append(activeId) - current.forEach((id) => append(id)) const limit = parentId ? SESSION_CACHE_LIMIT + 1 : SESSION_CACHE_LIMIT const trimmed = next.length > limit ? next.slice(0, limit) : next