From 9905aac1d4120cb69b9e9642b5199235a5f8035c Mon Sep 17 00:00:00 2001 From: Ayyub I Date: Sat, 30 Sep 2023 10:57:39 -0500 Subject: [PATCH] fixed citation mapping --- packages/web/components/NewQuery.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/web/components/NewQuery.tsx b/packages/web/components/NewQuery.tsx index f3dcb2dc..0ba91a07 100644 --- a/packages/web/components/NewQuery.tsx +++ b/packages/web/components/NewQuery.tsx @@ -154,9 +154,8 @@ export default function NewQuery() { - {/* Display the YouTube embeds*/}
- {card?.citations.map((citation, index) => ( + {card?.citations?.map((citation, index) => (

{citation.source_title}

{citation.source_url.includes("youtube.com") && }