Fix build: use as any for SyntaxHighlighter style prop

Matches the cast used in ChatUI.tsx — the react-syntax-highlighter
type definitions don't accept CSSProperties directly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
yuneng-jiang
2026-03-18 17:02:18 -07:00
co-authored by Claude Opus 4.6
parent b55cb249fe
commit ebe329cdce
@@ -143,7 +143,7 @@ function ChatMessageBubble({
const match = /language-(\w+)/.exec(className || "");
return !inline && match ? (
<SyntaxHighlighter
style={coy as Record<string, React.CSSProperties>}
style={coy as any}
language={match[1]}
PreTag="div"
className="rounded-md my-2"