diff --git a/src/lib/components/form/Duration.svelte b/src/lib/components/form/Duration.svelte index 65ca0092..715c9052 100644 --- a/src/lib/components/form/Duration.svelte +++ b/src/lib/components/form/Duration.svelte @@ -39,7 +39,6 @@ $effect(() => { value = calculateValue(number, duration) - console.log(value) }) diff --git a/src/lib/components/ui/sidebar/ProfileButton.svelte b/src/lib/components/ui/sidebar/ProfileButton.svelte index 6b29728a..ef6996c7 100644 --- a/src/lib/components/ui/sidebar/ProfileButton.svelte +++ b/src/lib/components/ui/sidebar/ProfileButton.svelte @@ -31,10 +31,9 @@ await setUserID(prof.id) } - console.log(page.url) - // await goto(page.url, { - // invalidateAll: true, - // }) + await goto(page.url, { + invalidateAll: true, + }) switching = false }} diff --git a/src/lib/mono/modal/Modal.svelte b/src/lib/mono/modal/Modal.svelte index 9c2c8713..8c5931f6 100644 --- a/src/lib/mono/modal/Modal.svelte +++ b/src/lib/mono/modal/Modal.svelte @@ -74,7 +74,7 @@ bg-white/50 dark:bg-black/50 box-border p-4" size="square-sm" onclick={() => { open = false - dispatcher('dismissed') + ondismissed?.() }} > {#snippet prefix()}