{#await ready}
{:then}
{#if $pubkey}
{/if}
{#if modal && !modal.options?.drawer} {#key modal}
{/key}
{/if} {#if $session}
{/if}
{#if modal && modal.options?.drawer} {#key modal}
{/key} {/if}
{/await}