'use client'; interface SearchErrorModalProps { isOpen: boolean; error: string | null; onRetry?: () => void; onSkip?: () => void; canRetry?: boolean; } export function SearchErrorModal({ isOpen, error, onRetry, onSkip, canRetry = true }: SearchErrorModalProps) { if (!isOpen) return null; return (

Search failed

{error || 'Unable to retrieve specs from the web'}

{canRetry && ( )}
); }