@moneymq/react 0.3.1 → 0.3.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.js CHANGED
@@ -614,6 +614,8 @@ function CheckoutModal({
614
614
  if (animationPhase === "closing") return;
615
615
  setAnimationPhase("closing");
616
616
  setTimeout(() => {
617
+ setShouldRender(false);
618
+ setAnimationPhase("closed");
617
619
  onClose();
618
620
  }, 300);
619
621
  }, [onClose, animationPhase]);