From b3a2995a79c5e00ba6e2731e5efef224f74bd828 Mon Sep 17 00:00:00 2001 From: Maxime Cannoodt Date: Wed, 6 Jul 2022 17:53:17 +0200 Subject: [PATCH] remove console logs --- webapp/src/lib/components/Callout.svelte | 2 -- webapp/src/routes/__layout.svelte | 1 - 2 files changed, 3 deletions(-) diff --git a/webapp/src/lib/components/Callout.svelte b/webapp/src/lib/components/Callout.svelte index 8a5ab43..74692f7 100644 --- a/webapp/src/lib/components/Callout.svelte +++ b/webapp/src/lib/components/Callout.svelte @@ -10,8 +10,6 @@ let content: HTMLElement; - $: console.log(content); - $: if (content) { const titleElement = content.getElementsByTagName('p')[0]; const match = titleElement.innerText.split('\n')[0].match(/\[!(.+)\](?:\s(.+))?/); diff --git a/webapp/src/routes/__layout.svelte b/webapp/src/routes/__layout.svelte index 1c06edb..5ad9742 100644 --- a/webapp/src/routes/__layout.svelte +++ b/webapp/src/routes/__layout.svelte @@ -15,7 +15,6 @@ $: { if (browser) { - console.log('saving dark mode'); window.localStorage.setItem('isDarkMode', String(dark)); } }