From 0340c24eccce3d90c03934dec14d574128fb32ef Mon Sep 17 00:00:00 2001
From: "A.J. Shulman" <Shulman.aj@gmail.com>
Date: Wed, 17 Jul 2024 12:06:40 -0400
Subject: added image citation highlights

---
 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 e18224405..9f3dee990 100644
--- a/src/client/views/nodes/ChatBox/MessageComponent.tsx
+++ b/src/client/views/nodes/ChatBox/MessageComponent.tsx
@@ -20,7 +20,7 @@ const MessageComponentBox: React.FC<MessageComponentProps> = function ({ message
         let lastIndex = 0;
 
         message.citations.forEach((citation, idx) => {
-            const location = citation.location;
+            const location = citation.text_location;
             const textBefore = content.slice(lastIndex, location);
             const citationButton = (
                 <button
-- 
cgit v1.2.3-70-g09d2

