fix: fix condition of displaying artifacts

This commit is contained in:
Henry Li
2026-01-30 21:51:18 +08:00
parent 618b3e1e8f
commit 697f094ba9

View File

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