@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
package/dist/index.mjs
CHANGED
|
@@ -7772,14 +7772,17 @@ function ExplorePage({
|
|
|
7772
7772
|
setTimeout(() => setShareLabel("Share"), 2500);
|
|
7773
7773
|
return;
|
|
7774
7774
|
}
|
|
7775
|
-
const
|
|
7776
|
-
|
|
7775
|
+
const url = new URL(pageUrl ?? window.location.href);
|
|
7776
|
+
url.search = "";
|
|
7777
|
+
url.hash = "";
|
|
7778
|
+
url.searchParams.set("c", token);
|
|
7779
|
+
const shareable = url.toString();
|
|
7777
7780
|
try {
|
|
7778
|
-
await navigator.clipboard.writeText(
|
|
7781
|
+
await navigator.clipboard.writeText(shareable);
|
|
7779
7782
|
setShareLabel("Copied");
|
|
7780
7783
|
setTimeout(() => setShareLabel("Share"), 2500);
|
|
7781
7784
|
} catch {
|
|
7782
|
-
setShareUrl(
|
|
7785
|
+
setShareUrl(shareable);
|
|
7783
7786
|
setShareLabel("Share");
|
|
7784
7787
|
}
|
|
7785
7788
|
}, [createShareLink, pageUrl]);
|