fix: fix condition of displaying artifacts

This commit is contained in:
Henry Li
2026-01-30 21:51:18 +08:00
parent c1182c680c
commit c07c0228f6

View File

@@ -148,7 +148,7 @@ export default function ChatPage() {
)}
</div>
<div>
{artifacts?.length && !artifactsOpen && (
{artifacts?.length > 0 && !artifactsOpen && (
<Tooltip content="Show artifacts of this conversation">
<Button
variant="ghost"