@burdenoff/website-sdk 2026.829.7 → 2026.829.8

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.
@@ -3431,14 +3431,17 @@ function ExplorePage({
3431
3431
  setTimeout(() => setShareLabel("Share"), 2500);
3432
3432
  return;
3433
3433
  }
3434
- const base = (pageUrl ?? window.location.href).split("?")[0];
3435
- const url = `${base}?c=${encodeURIComponent(token)}`;
3434
+ const url = new URL(pageUrl ?? window.location.href);
3435
+ url.search = "";
3436
+ url.hash = "";
3437
+ url.searchParams.set("c", token);
3438
+ const shareable = url.toString();
3436
3439
  try {
3437
- await navigator.clipboard.writeText(url);
3440
+ await navigator.clipboard.writeText(shareable);
3438
3441
  setShareLabel("Copied");
3439
3442
  setTimeout(() => setShareLabel("Share"), 2500);
3440
3443
  } catch {
3441
- setShareUrl(url);
3444
+ setShareUrl(shareable);
3442
3445
  setShareLabel("Share");
3443
3446
  }
3444
3447
  }, [createShareLink, pageUrl]);