{#if user.isLoggedIn && user.profile}
{#snippet child({ props })}
{/snippet}
Logout
{:else if !user.isInitializing}
Login to edit your page
{ await login(data.handle as ActorIdentifier); }}>Login
{/if}