Fix duplicate AI chat error display

This commit is contained in:
lemon
2026-05-06 23:14:44 -07:00
parent f6f76d08d4
commit 344d3a0049
+1 -5
View File
@@ -162,11 +162,7 @@ function AgentChatView({ hasCredits }: { hasCredits: boolean | null }) {
heading="Rate limited."
body="You're sending messages too fast. Grab some credits on"
/>
) : (
<div className="rounded-lg bg-destructive/10 border border-destructive/20 text-destructive text-sm px-4 py-3">
{apiError}
</div>
)
) : null
)}
<div ref={messagesEndRef} />