From 27452b23e9a0554f56e16bd30dcc11db9aa8e3bd Mon Sep 17 00:00:00 2001 From: Alessio Davoli Date: Wed, 19 Jul 2023 16:40:41 +0200 Subject: [PATCH] missing time var --- frontend/src/lib/components/Splash.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/lib/components/Splash.svelte b/frontend/src/lib/components/Splash.svelte index 8c40fa7..09b96b8 100644 --- a/frontend/src/lib/components/Splash.svelte +++ b/frontend/src/lib/components/Splash.svelte @@ -3,8 +3,10 @@ import { fade } from 'svelte/transition'; let visible = false; - + let time = 0; + onMount(() => { + time = 0; setTimeout(() => { visible = false; }, time);