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';
|
||||
|
||||
let visible = false;
|
||||
|
||||
let time = 0;
|
||||
|
||||
onMount(() => {
|
||||
time = 0;
|
||||
setTimeout(() => {
|
||||
visible = false;
|
||||
}, time);
|
||||
|
|
Loading…
Reference in a new issue