import { useState as t } from "react";
import e from "./useEvent.js";
const r = () => {
  const [o, n] = t(navigator.onLine);
  return e("online", () => n(navigator.onLine), !1, window), e("offline", () => n(navigator.onLine), !1, window), o;
};
export {
  r as default
};
//# sourceMappingURL=useOnlineStatus.js.map
