missing time var

This commit is contained in:
Alessio Davoli 2023-07-19 16:40:41 +02:00
parent 8cf8b74a26
commit 27452b23e9

View file

@ -3,8 +3,10 @@
import { fade } from 'svelte/transition';
let visible = false;
let time = 0;
onMount(() => {
time = 0;
setTimeout(() => {
visible = false;
}, time);