@wacht/jsx 0.0.1-alpha.24 → 0.0.1-alpha.25

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.es.js CHANGED
@@ -5863,12 +5863,12 @@ function Rb() {
5863
5863
  ie(() => {
5864
5864
  var G;
5865
5865
  if (!h) return;
5866
- if (f) {
5866
+ const D = new URLSearchParams(window.location.search).get("invite_token");
5867
+ if (f && !D) {
5867
5868
  const ae = ((G = h.ui_settings) == null ? void 0 : G.waitlist_page_url) || `${h.frontend_host}/waitlist` || "/waitlist";
5868
5869
  g(ae);
5869
5870
  return;
5870
5871
  }
5871
- const D = new URLSearchParams(window.location.search).get("invite_token");
5872
5872
  D && !y && t && (z(D), t.validateDeploymentInvitation(D).then((ae) => {
5873
5873
  $(ae), ae.valid && d((be) => ({
5874
5874
  ...be,