mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
fix(vscode): remove dead guard in collapseCostBreakdown
This commit is contained in:
@@ -164,7 +164,6 @@ export function collapseCostBreakdown(
|
||||
items: Array<{ label: string; cost: number }>,
|
||||
summaryLabel: (count: number) => string,
|
||||
): Array<{ label: string; cost: number }> {
|
||||
if (items.length <= 1) return items
|
||||
const root = items[0]
|
||||
const children = items.slice(1)
|
||||
const reversed = [...children].reverse()
|
||||
|
||||
Reference in New Issue
Block a user