hey-pharmacist-ecommerce 1.1.4 → 1.1.5

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.js CHANGED
@@ -8784,6 +8784,7 @@ function Card({ className = "", ...props }) {
8784
8784
  }
8785
8785
  function Modal({ isOpen, onClose, title, children, size = "md" }) {
8786
8786
  React20.useEffect(() => {
8787
+ if (typeof window === "undefined") return;
8787
8788
  if (isOpen) {
8788
8789
  document.body.style.overflow = "hidden";
8789
8790
  } else {