import { useRef as i, useEffect as r } from "react";
function s(n) {
  const e = i(n);
  e.current = n, r(() => {
    const t = window.minisEvents.on("MINI_APP_BLUR", () => {
      e.current();
    });
    return () => window.minisEvents.off(t);
  }, []);
}
export {
  s as useOnMiniBlur
};
//# sourceMappingURL=useOnMiniBlur.js.map
