From 0c88ba092e0c053f0a8f557f37c2df7f2a0f3f1e Mon Sep 17 00:00:00 2001 From: Chris Amico Date: Thu, 3 Oct 2024 16:06:41 -0400 Subject: [PATCH] remove console.logs --- src/lib/api/flatpages.ts | 1 - src/routes/embed/documents/[id]-[slug]/+page.svelte | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/api/flatpages.ts b/src/lib/api/flatpages.ts index 86f0a255a..90f7868c0 100644 --- a/src/lib/api/flatpages.ts +++ b/src/lib/api/flatpages.ts @@ -30,7 +30,6 @@ export async function get( } const endpoint = new URL("flatpages" + path, BASE_API_URL); - console.log(endpoint.href); const resp = await fetch(endpoint, { credentials: "include" }); return getApiResponse(resp); diff --git a/src/routes/embed/documents/[id]-[slug]/+page.svelte b/src/routes/embed/documents/[id]-[slug]/+page.svelte index e930b7e55..cd59f8721 100644 --- a/src/routes/embed/documents/[id]-[slug]/+page.svelte +++ b/src/routes/embed/documents/[id]-[slug]/+page.svelte @@ -53,7 +53,6 @@ // pagination function onHashChange(e: HashChangeEvent | PopStateEvent) { - console.log(e); const { hash } = window.location; $currentPage = pageFromHash(hash); scrollToPage($currentPage); @@ -65,7 +64,7 @@ } - + {#if shouldPreload($currentMode)}