'use client';

export default function ProviderHealthError({ reset }: { error: Error; reset: () => void }) {
  return (
    <div className="card">
      <h2>Provider health could not load</h2>
      <p className="muted">The dashboard could not fetch provider health from the API.</p>
      <button className="btn-primary" type="button" onClick={reset}>Retry</button>
    </div>
  );
}
