From d201fd170c9ef2684ed3b14604a0791b7b3b57bf Mon Sep 17 00:00:00 2001 From: Sean Lynch Date: Wed, 6 Mar 2024 22:44:46 -0500 Subject: [PATCH] [Labels] Remove {#each} key until configurable --- packages/layerchart/src/lib/components/Labels.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/layerchart/src/lib/components/Labels.svelte b/packages/layerchart/src/lib/components/Labels.svelte index f034445b4..3f4b5be5c 100644 --- a/packages/layerchart/src/lib/components/Labels.svelte +++ b/packages/layerchart/src/lib/components/Labels.svelte @@ -140,7 +140,8 @@ - {#each $flatData as d, i (getLabelText(d))} + + {#each $flatData as d} {@const value = getValue(d)} {@const position = getPosition(d)} {@const textProps = getTextProps(d)}