Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix: use bracket notation for CSS custom properties in style object

Steven Enamakel0db78b68d5c1
diff --git a/app/src/features/conversations/components/AssistantUiChat.tsx b/app/src/features/conversations/components/AssistantUiChat.tsx
index ed497e3596..ed0240ab22 100644
--- a/app/src/features/conversations/components/AssistantUiChat.tsx
+++ b/app/src/features/conversations/components/AssistantUiChat.tsx
@@ -115,9 +115,9 @@ export function AssistantUiChat() {
data-testid="assistant-ui-chat"
className="flex h-full min-h-0 flex-1 flex-col bg-surface"
style={{
- '--thread-max-width': '44rem',
- '--composer-radius': '1.5rem',
- '--composer-padding': '8px',
+ ['--thread-max-width' as string]: '44rem',
+ ['--composer-radius' as string]: '1.5rem',
+ ['--composer-padding' as string]: '8px',
}}>
<ThreadPrimitive.Viewport
turnAnchor="top"