diff --git a/packages/web/components/NewQuery.tsx b/packages/web/components/NewQuery.tsx index 0ba91a07..00c7463e 100644 --- a/packages/web/components/NewQuery.tsx +++ b/packages/web/components/NewQuery.tsx @@ -158,7 +158,8 @@ export default function NewQuery() { {card?.citations?.map((citation, index) => (

{citation.source_title}

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