missing time var
This commit is contained in:
parent
8cf8b74a26
commit
27452b23e9
1 changed files with 3 additions and 1 deletions
|
@ -3,8 +3,10 @@
|
||||||
import { fade } from 'svelte/transition';
|
import { fade } from 'svelte/transition';
|
||||||
|
|
||||||
let visible = false;
|
let visible = false;
|
||||||
|
let time = 0;
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
|
time = 0;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
visible = false;
|
visible = false;
|
||||||
}, time);
|
}, time);
|
||||||
|
|
Loading…
Reference in a new issue