"use client";

import { useErrorReporter } from "@/lib/error-reporting";

/**
 * Client component that wires up global error reporting.
 * Rendered once in the root layout to capture unhandled errors
 * and promise rejections across the entire app.
 */
export function ErrorReporterClient() {
  useErrorReporter();
  return null;
}
