fix(chat): fix clipboard catch, remove unused bottomRef, fix redact array recursion, fix inline code detection

This commit is contained in:
Ishaan Jaffer 2026-03-05 18:16:01 -08:00
parent 8f09c09cd1
commit d14bf72339

View file

@ -333,7 +333,7 @@ function CopyButton({ text }: { text: string }) {
setCopied(true);
setTimeout(() => setCopied(false), 2000);
}).catch(() => {
message.error("Failed to copy to clipboard");
// clipboard not available (non-HTTPS or permission denied) — silently no-op
});
};