diff --git a/src/lib/components/documents/Share.svelte b/src/lib/components/documents/Share.svelte index a2872530..ec8f7136 100644 --- a/src/lib/components/documents/Share.svelte +++ b/src/lib/components/documents/Share.svelte @@ -86,13 +86,13 @@ case "document": permalink = canonicalUrl(document); embedSrc = embedUrl(document, embedUrlParams); - iframe = ``; break; case "page": permalink = pageUrl(document, page); embedSrc = canonicalPageUrl(document, page); embedSrc.searchParams.set("embed", "1"); - iframe = ``; break; case "note": const noteObject = document.notes?.find( @@ -102,7 +102,7 @@ permalink = noteUrl(document, noteObject); embedSrc = canonicalNoteUrl(document, noteObject); embedSrc.searchParams.set("embed", "1"); - iframe = ``; } break; } diff --git a/src/lib/components/projects/ProjectShare.svelte b/src/lib/components/projects/ProjectShare.svelte index 1fe8fad8..3d5f5c9a 100644 --- a/src/lib/components/projects/ProjectShare.svelte +++ b/src/lib/components/projects/ProjectShare.svelte @@ -28,11 +28,11 @@ $: permalink = canonicalUrl(project); $: embedSrc = embedUrl(project); - $: iframe = ``;
-
{#if isPrivate}