import { useAuthSession } from "@/hooks/useAuthSession";

/** Ledger client ID for the signed-in client portal user. */
export function useClientId(): string | undefined {
  const session = useAuthSession("client");
  return session?.clientId;
}
