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