import { useSyncExternalStore } from "react";
import { useZero } from "./zero-provider.js";
function useZeroOnline() {
  const zero = useZero();
  return useSyncExternalStore(
    zero.onOnline,
    () => zero.online,
    () => zero.online
  );
}
export {
  useZeroOnline
};
//# sourceMappingURL=use-zero-online.js.map
