import { useCurrentDriver } from './driver/useCurrentDriver'; /** * Hook to get the current driver ID from the user's session. * Returns the driver ID string or undefined if not available. */ export function useEffectiveDriverId(): string | undefined { const { data: currentDriver } = useCurrentDriver(); return currentDriver?.id; }