"use client" import { useState } from "react" import Link from "next/link" import { ClipboardList, Printer, Share2 } from "lucide-react" import { Button } from "@/shared/components/ui/button" import { InspectionShareDialog } from "@/modules/inspections/inspection-share-dialog" /** * Client island for the inspection detail page header — exposes the Share * dialog and a quick link to the technician's checkpoints page without * pulling the entire page out of the server-component tree. */ export function InspectionDetailHeader({ inspectionId, title, }: { inspectionId: number | string title?: string }) { const [shareOpen, setShareOpen] = useState(false) return (
Inspection

{title ?? "Inspection"}

) }