@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.
@@ -3457,14 +3457,17 @@ function ExplorePage({
3457
3457
  setTimeout(() => setShareLabel("Share"), 2500);
3458
3458
  return;
3459
3459
  }
3460
- const base = (pageUrl ?? window.location.href).split("?")[0];
3461
- const url = `${base}?c=${encodeURIComponent(token)}`;
3460
+ const url = new URL(pageUrl ?? window.location.href);
3461
+ url.search = "";
3462
+ url.hash = "";
3463
+ url.searchParams.set("c", token);
3464
+ const shareable = url.toString();
3462
3465
  try {
3463
- await navigator.clipboard.writeText(url);
3466
+ await navigator.clipboard.writeText(shareable);
3464
3467
  setShareLabel("Copied");
3465
3468
  setTimeout(() => setShareLabel("Share"), 2500);
3466
3469
  } catch {
3467
- setShareUrl(url);
3470
+ setShareUrl(shareable);
3468
3471
  setShareLabel("Share");
3469
3472
  }
3470
3473
  }, [createShareLink, pageUrl]);