Add more types
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-12-18 16:01:42 +01:00
parent 2df6ffa5f4
commit bc1a2623e7

View file

@ -1,8 +1,9 @@
<script>
import { onDestroy, onMount } from 'svelte';
<script lang="ts">
import { onMount } from 'svelte';
export let message = "L'applicazione è pronta per funzionare offline!";
let show = false;
let nodeRef;
let nodeRef: HTMLDivElement;
onMount(() => {
setTimeout(() => {
@ -10,7 +11,7 @@
setTimeout(() => {
show = false;
setTimeout(() => {
nodeRef.parentNode.removeChild(nodeRef);
nodeRef?.parentNode?.removeChild(nodeRef);
}, 5000);
}, 5000);
}, 0);