@saasquatch/mint-components 1.16.0-21 → 1.16.0-22

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.
@@ -2400,7 +2400,7 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
2400
2400
  if (typeof e.data === "number") {
2401
2401
  setiFrameHeight(e.data + "px");
2402
2402
  }
2403
- if (e.data === "Complyexchange Thank you page Load") {
2403
+ if (e.data === "Complyexchange Thank you page Load" && !states.loading) {
2404
2404
  callbacks.completeDocument();
2405
2405
  }
2406
2406
  }, []);
@@ -83,7 +83,7 @@ export const DocusignIframe = ({ states, data, callbacks, text, }) => {
83
83
  if (typeof e.data === "number") {
84
84
  setiFrameHeight(e.data + "px");
85
85
  }
86
- if (e.data === "Complyexchange Thank you page Load") {
86
+ if (e.data === "Complyexchange Thank you page Load" && !states.loading) {
87
87
  callbacks.completeDocument();
88
88
  }
89
89
  }, []);
@@ -2396,7 +2396,7 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
2396
2396
  if (typeof e.data === "number") {
2397
2397
  setiFrameHeight(e.data + "px");
2398
2398
  }
2399
- if (e.data === "Complyexchange Thank you page Load") {
2399
+ if (e.data === "Complyexchange Thank you page Load" && !states.loading) {
2400
2400
  callbacks.completeDocument();
2401
2401
  }
2402
2402
  }, []);