mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
components/shared/Alert.tsx was base-vega's own alert.tsx copied in by hand, carrying the same four exports and the same class strings, so npx shadcn add could never reach it and it would drift from every upstream fix silently. It also still wrapped each part in forwardRef, which React 19 no longer needs. Install the primitive into components/ui/ where the CLI can update it, and reduce the shared file to a wrapper that adds the four status variants (info, success, warning, error) the dashboard actually uses on top of upstream's default and destructive. Rendered output is unchanged: every variant produces byte-identical classes, role and data-variant, so all 45 call sites look the same. |
||
|---|---|---|
| .. | ||
| litellm-dashboard | ||
| Dockerfile | ||
| nginx.conf | ||