diff --git a/frontend/src/components/ui/error-banner.tsx b/frontend/src/components/ui/error-banner.tsx index 3897ca90..27bbf7d2 100644 --- a/frontend/src/components/ui/error-banner.tsx +++ b/frontend/src/components/ui/error-banner.tsx @@ -1,6 +1,7 @@ import { Alert, AlertTitle, AlertDescription } from '@/components/ui/alert' import { Button } from '@/components/ui/button' import { AlertCircle, X } from 'lucide-react' +import { cn } from '@/lib/utils' export interface ErrorBannerProps { title?: string @@ -12,21 +13,21 @@ export interface ErrorBannerProps { export function ErrorBanner({ title, summary, detail, onDismiss, className }: ErrorBannerProps) { return ( - +
- +
{title && ( - {title} + {title} )} - {summary} + {summary}
{onDismiss && (
{detail && ( -
+          
             {detail}
           
)}