From edf919dd06db9fc2f748152b6cf675e03578f6ef Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Sun, 10 Dec 2023 09:50:42 -0500 Subject: [PATCH] fix an import --- src/pages/embed/note/Note.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/embed/note/Note.svelte b/src/pages/embed/note/Note.svelte index fb82f5baf..07c24f150 100644 --- a/src/pages/embed/note/Note.svelte +++ b/src/pages/embed/note/Note.svelte @@ -11,7 +11,7 @@ import { pageImageUrl } from "@/api/viewer.js"; import { embedUrl } from "@/api/embed.js"; import { - currentUrl, + getCurrentUrl, truthyParamValue, getQueryStringParams, } from "@/util/url.js"; @@ -26,7 +26,7 @@ let elem; const showStaticImage = truthyParamValue( - getQueryStringParams(currentUrl()).embed, + getQueryStringParams(getCurrentUrl()).embed, ); $: canonicalNoteUrl = note == null ? "" : doc.canonicalNoteUrl(note);