From 8e4951bf9b11626bb51187dc41d24b5f83a966ca Mon Sep 17 00:00:00 2001 From: robin Date: Wed, 6 Dec 2023 20:45:44 +0000 Subject: [PATCH] SSR --- frontend/src/lib/components/header/Header.svelte | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/header/Header.svelte b/frontend/src/lib/components/header/Header.svelte index 0e572a9..57f3760 100644 --- a/frontend/src/lib/components/header/Header.svelte +++ b/frontend/src/lib/components/header/Header.svelte @@ -42,6 +42,12 @@ } } }) + + $: { + console.log($refresh) + checkHomePage() + checkScroll() + } let show = false $: console.log(show) @@ -55,7 +61,8 @@
- {/key} + + {/key} {#if !isHomePage}