fix: Fix FlowTimeline duplicate key (#8754)

This commit is contained in:
Diego Imbert
2026-04-07 22:13:30 +02:00
committed by GitHub
parent db55e8efb0
commit 2413dbefe3
@@ -149,7 +149,7 @@
height={Math.min(400, (subItems?.length ?? 0) * barHeight)}
itemCount={subItems?.length ?? 0}
itemSize={barHeight}
getKey={(index) => subItems?.[index]?.id}
getKey={(index) => subItems?.[index]?.id ?? `_${index}`}
>
{#snippet item({ index, style })}
{@const b = subItems?.[index]}