The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(assistant-ui): correct dialog close button not working
Steven Enamakel6075296146c4
diff --git a/app/src/components/assistant-ui/ui/dialog.tsx b/app/src/components/assistant-ui/ui/dialog.tsxindex cd95c92e1c..bd174fd788 100644--- a/app/src/components/assistant-ui/ui/dialog.tsx+++ b/app/src/components/assistant-ui/ui/dialog.tsx@@ -35,6 +35,7 @@ function DialogContent({showCloseButton = true,...props}: DialogPrimitive.Popup.Props & { showCloseButton?: boolean }) {+ const { t } = useT();return (<DialogPortal><DialogOverlay />@@ -51,7 +52,7 @@ function DialogContent({data-slot="dialog-close"render={<Button variant="ghost" className="absolute top-2 right-2" size="icon-sm" />}><XIcon />- <span className="sr-only">Close</span>+ <span className="sr-only">{t('common.close', 'Close')}</span></DialogPrimitive.Close>)}</DialogPrimitive.Popup>