"use client" import { createContext, useContext } from "react" type EmployeeContextValue = { id: string label: string } const EmployeeContext = createContext(null) export function EmployeeProvider({ employee, children, }: { employee: EmployeeContextValue children: React.ReactNode }) { return ( {children} ) } export function useEmployee() { return useContext(EmployeeContext) }