diff options
author | A.J. Shulman <Shulman.aj@gmail.com> | 2024-07-17 12:06:40 -0400 |
---|---|---|
committer | A.J. Shulman <Shulman.aj@gmail.com> | 2024-07-17 12:06:40 -0400 |
commit | 0340c24eccce3d90c03934dec14d574128fb32ef (patch) | |
tree | da796e844fd84b5885d161f47f551b1e4145dbce /src/client/views/nodes/ChatBox/MessageComponent.tsx | |
parent | 6e0dd5cf8b36e66edbced83cf5e6d4e2e272be3f (diff) |
added image citation highlights
Diffstat (limited to 'src/client/views/nodes/ChatBox/MessageComponent.tsx')
-rw-r--r-- | src/client/views/nodes/ChatBox/MessageComponent.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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 |