+page.svelte (335B)
1 <script lang="ts"> 2 import { onMount } from 'svelte'; 3 import AccountGate from '../../lib/components/AccountGate.svelte'; 4 import InboxStatus from '../../lib/components/InboxStatus.svelte'; 5 let mounted = $state(false); 6 onMount(() => { 7 mounted = true; 8 }); 9 </script> 10 11 {#if mounted}<InboxStatus />{:else}<AccountGate />{/if}