"use client" import { createContext, useContext } from "react" type InspectionContextValue = { id: string label: string } const InspectionContext = createContext(null) export function InspectionProvider({ inspection, children, }: { inspection: InspectionContextValue children: React.ReactNode }) { return ( {children} ) } export function useInspection() { return useContext(InspectionContext) }