import { ListError } from '../ui/ListError';

export function ErrorState({
  message,
  onRetry,
}: {
  message: string;
  onRetry: () => void;
}) {
  return <ListError title="Unable to load repair orders" message={message} onRetry={onRetry} />;
}
