Skip to content

Commit fcc7506

Browse files
committed
fix: comment out maxLevel calculation in Timeline component
1 parent 703e347 commit fcc7506

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/Timeline.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ export function Timeline({ events }: TimelineProps) {
202202
...compositionUpdateBars,
203203
...compositionEndBars,
204204
];
205-
const maxLevel =
206-
allBars.length > 0 ? Math.max(...allBars.map((b) => b.level)) : 0;
205+
// const maxLevel =
206+
// allBars.length > 0 ? Math.max(...allBars.map((b) => b.level)) : 0;
207207
// Only count levels that actually have bars
208208
const activeLevels = Array.from(
209209
new Set(allBars.map((bar) => bar.level))

0 commit comments

Comments
 (0)