Files
nextup/web/src/lib/ConnectionLostDialog2.svelte

14 lines
300 B
Svelte

<script lang="ts">
import { browser } from "$app/environment";
import * as AlertDialog from "$lib/components/ui/alert-dialog/index.js";
import { onMount } from "svelte";
onMount(() => {
if (!browser) return;
setTimeout(() => {
location.reload();
}, 2000);
});
</script>