From 5feac8e4d7fb4742eb8e22b7c52870cd17ada58e Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 27 Jan 2024 18:57:01 -0500 Subject: [PATCH] Fix a missing key. --- src/shadow.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shadow.tsx b/src/shadow.tsx index 6c82d55..02c68e6 100644 --- a/src/shadow.tsx +++ b/src/shadow.tsx @@ -24,7 +24,7 @@ function buildShadow(highlights: Highlight[], text: string): ReactNode[] { } else if (state == ShadowState.Highlight) { if (remaining_highlights.length > 0 && i == remaining_highlights[0].end) { // End the span - output.push({buffer}); + output.push({buffer}); buffer = chr; state = ShadowState.Text; remaining_highlights = remaining_highlights.slice(1);