浏览代码

fix: styling

Timothy J. Baek 1 年之前
父节点
当前提交
38590da0b1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib/components/chat/Messages/ResponseMessage.svelte

+ 1 - 1
src/lib/components/chat/Messages/ResponseMessage.svelte

@@ -472,7 +472,7 @@
 					</div>
 				</div>
 
-				{#if flattenedCitations}
+				{#if Object.keys(flattenedCitations).length > 0}
 					<hr class="  dark:border-gray-800" />
 
 					<div class="my-2.5 w-full flex overflow-x-auto gap-2 flex-wrap">