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