@pollar/react 0.9.0-rc.1 → 0.9.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1033,7 +1033,7 @@ var PollarModalFooter = () => {
1033
1033
  /* @__PURE__ */ jsx("span", { className: "pollar-footer-name", children: "Pollar" }),
1034
1034
  /* @__PURE__ */ jsxs("span", { className: "pollar-footer-version", children: [
1035
1035
  "v",
1036
- "0.9.0-rc.1"
1036
+ "0.9.0-rc.2"
1037
1037
  ] })
1038
1038
  ] })
1039
1039
  ] });
@@ -1912,6 +1912,9 @@ function LoginModal({ onClose }) {
1912
1912
  setCodeInputKey((k) => k + 1);
1913
1913
  }
1914
1914
  if (next.step === "authenticated") {
1915
+ if (autoCloseTimer.current !== null) {
1916
+ clearTimeout(autoCloseTimer.current);
1917
+ }
1915
1918
  autoCloseTimer.current = setTimeout(() => {
1916
1919
  autoCloseTimer.current = null;
1917
1920
  onCloseRef.current();