pxengine 0.1.106 → 0.1.107
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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.ts +1 -2
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/registry.json +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -39559,7 +39559,7 @@ var PresentationJobCard = ({
|
|
|
39559
39559
|
}
|
|
39560
39560
|
}, [isTerminal]);
|
|
39561
39561
|
const handleShare = async () => {
|
|
39562
|
-
const link = shareUrl ?? formats.html_url;
|
|
39562
|
+
const link = shareUrl ?? (typeof window !== "undefined" && _job_id ? `${window.location.origin}/p/${_job_id}` : formats.html_url);
|
|
39563
39563
|
if (!link) return;
|
|
39564
39564
|
try {
|
|
39565
39565
|
await navigator.clipboard.writeText(link);
|