<script lang="ts">
  import { onDestroy, onMount } from 'svelte';

  let mounted = $state(false);
  onMount(() => (mounted = true));
  onDestroy(() => (mounted = false));
</script>

<svelte:head>
  {#if !mounted}
    <noscript>
      <meta http-equiv="refresh" content="5" />
    </noscript>
  {/if}
</svelte:head>
