From 56f6637e9d9052c4bc7724d2713573ac67141631 Mon Sep 17 00:00:00 2001
From: "A.J. Shulman" <Shulman.aj@gmail.com>
Date: Mon, 22 Jul 2024 13:20:36 -0400
Subject: works decently well

---
 src/client/views/nodes/ChatBox/MessageComponent.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/nodes/ChatBox/MessageComponent.tsx')

diff --git a/src/client/views/nodes/ChatBox/MessageComponent.tsx b/src/client/views/nodes/ChatBox/MessageComponent.tsx
index fd7c445c5..d24a55d23 100644
--- a/src/client/views/nodes/ChatBox/MessageComponent.tsx
+++ b/src/client/views/nodes/ChatBox/MessageComponent.tsx
@@ -24,7 +24,7 @@ const MessageComponentBox: React.FC<MessageComponentProps> = function ({ message
                         if (!citation) return null;
                         return (
                             <button
-                                key={idx}
+                                key={i + idx}
                                 className="citation-button"
                                 onClick={() => onCitationClick(citation)}
                                 style={{
-- 
cgit v1.2.3-70-g09d2

