From 4aff515a8e47b1f6c6a6d796fcb5bc3acdf0744b Mon Sep 17 00:00:00 2001 From: mubashir1osmani Date: Sat, 8 Aug 2026 12:15:09 -0700 Subject: [PATCH] fix(ui): cast syntax highlighter theme through unknown --- .../src/components/chat_ui/ReasoningContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/components/chat_ui/ReasoningContent.tsx b/ui/litellm-dashboard/src/components/chat_ui/ReasoningContent.tsx index 770fc7d62b7..84cdc345ad6 100644 --- a/ui/litellm-dashboard/src/components/chat_ui/ReasoningContent.tsx +++ b/ui/litellm-dashboard/src/components/chat_ui/ReasoningContent.tsx @@ -48,7 +48,7 @@ const ReasoningContent: React.FC = ({ reasoningContent }) const match = /language-(\w+)/.exec(className || ""); return !inline && match ? ( } + style={coy as unknown as { [key: string]: React.CSSProperties }} language={match[1]} PreTag="div" className="my-2 rounded-md"