Skip to content

Commit

Permalink
fix an import
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Dec 10, 2023
1 parent be0f8f5 commit edf919d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/embed/note/Note.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -26,7 +26,7 @@
let elem;
const showStaticImage = truthyParamValue(
getQueryStringParams(currentUrl()).embed,
getQueryStringParams(getCurrentUrl()).embed,
);
$: canonicalNoteUrl = note == null ? "" : doc.canonicalNoteUrl(note);
Expand Down

0 comments on commit edf919d

Please sign in to comment.