@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.
- package/dist/components/explore.js +7 -4
- package/dist/components/explore.js.map +1 -1
- package/dist/components/explore.mjs +7 -4
- package/dist/components/explore.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -3431,14 +3431,17 @@ function ExplorePage({
|
|
|
3431
3431
|
setTimeout(() => setShareLabel("Share"), 2500);
|
|
3432
3432
|
return;
|
|
3433
3433
|
}
|
|
3434
|
-
const
|
|
3435
|
-
|
|
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(
|
|
3440
|
+
await navigator.clipboard.writeText(shareable);
|
|
3438
3441
|
setShareLabel("Copied");
|
|
3439
3442
|
setTimeout(() => setShareLabel("Share"), 2500);
|
|
3440
3443
|
} catch {
|
|
3441
|
-
setShareUrl(
|
|
3444
|
+
setShareUrl(shareable);
|
|
3442
3445
|
setShareLabel("Share");
|
|
3443
3446
|
}
|
|
3444
3447
|
}, [createShareLink, pageUrl]);
|