Events

{#snippet child({ props })} {/snippet} Create New Event Fill in the details for the new event. Click create when you're done.
{#if errorMsg}

{errorMsg}

{/if}
{#snippet child({ props })} {/snippet}
{#await eventsFuture}

Loading...

{:then events}

Upcoming

{#each events.filter((e) => e.start > millis) as event (event.id)} {/each}

Past

{#each events.filter((e) => e.start < millis).reverse() as event (event.id)} {/each}
{/await}