Spaces
{#if PLATFORM_RELAYS.length === 0} {/if}
{#snippet input()} {/snippet} {#snippet content()}
{#each PLATFORM_RELAYS as url (url)} {:else} {#await userSpacesLoaded}
Loading your spaces...
{:then} {#if inviteData} Search results {#key inviteData.url} {/key} {/if} {#if filteredUserUrls.length > 0} Your spaces {#snippet item(url)} {/snippet} {:else if !term}

You haven't joined any spaces yet.

{/if} {#if otherSpaces.length > 0} Browse Spaces {/if} {#each otherSpaces.slice(0, limit) as relay (relay.url)} {/each}
{#await sleep(5000)} Looking for spaces... {:then} {#if otherSpaces.length === 0} No other spaces found. {/if} {/await}
{/await} {/each}
{/snippet}