import { useIdentity as useIdentity$1 } from "@contember/react-identity";
const useIdentity = () => {
  const identity = useIdentity$1();
  if (!identity) {
    throw new Error("Identity context is not initialized");
  }
  return identity;
};
export {
  useIdentity
};
//# sourceMappingURL=useIdentity.js.map
