"use client" import { createContext, useContext } from "react" type CustomerContextValue = { id: string label: string } const CustomerContext = createContext(null) export function CustomerProvider({ customer, children, }: { customer: CustomerContextValue children: React.ReactNode }) { return ( {children} ) } export function useCustomer() { return useContext(CustomerContext) }