Skip to content

Commit

Permalink
remove console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
eyeseast committed Oct 3, 2024
1 parent 6c964b1 commit 0c88ba0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/lib/api/flatpages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Flatpage>(resp);
Expand Down
3 changes: 1 addition & 2 deletions src/routes/embed/documents/[id]-[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
// pagination
function onHashChange(e: HashChangeEvent | PopStateEvent) {
console.log(e);
const { hash } = window.location;
$currentPage = pageFromHash(hash);
scrollToPage($currentPage);
Expand All @@ -65,7 +64,7 @@
}
</script>

<svelte:window on:hashchange={onHashChange} on:popstate={console.log} />
<svelte:window on:hashchange={onHashChange} />
<svelte:head>
{#if shouldPreload($currentMode)}
<link
Expand Down

0 comments on commit 0c88ba0

Please sign in to comment.