fix: fix condition of displaying artifacts

This commit is contained in:
Henry Li
2026-01-30 21:51:18 +08:00
parent 1bb91bb267
commit 21e12d91eb

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"