"use client" import { createContext, useContext } from "react" export type EstimateContextValue = { id: string label: string data?: Record } const EstimateContext = createContext(null) export function EstimateProvider({ estimate, children, }: { estimate: EstimateContextValue children: React.ReactNode }) { return ( {children} ) } export function useEstimate() { return useContext(EstimateContext) }