import { Alert, AlertDescription } from '@/components/ui/alert' import { Button } from '@/components/ui/button' import { AlertCircle, X } from 'lucide-react' interface GitErrorBannerProps { error: { summary: string; detail?: string } onDismiss: () => void } export function GitErrorBanner({ error, onDismiss }: GitErrorBannerProps) { return (
{error.summary}
{error.detail && (
            {error.detail}
          
)}
) }