d?.error !== undefined)}>
Something went wrong while contacting the MapComplete Studio Server: {$layersWithErr["error"]}
The server might be offline. Please:
osmConnection.AttemptLogin()}> Please log in to use MapComplete Studio
{#if state === undefined}

MapComplete Studio

state = "edit_layer"}> Edit an existing layer createNewLayer()}> Create a new layer {showIntro.setData(true)} }> Show the introduction again
{:else if state === "edit_layer"}
{state =undefined}}>MapComplete Studio

Choose a layer to edit

Your layers

Official layers

{:else if state === "loading"}
{:else if state === "editing_layer"} {state =undefined}}>MapComplete Studio {/if}
{#if $showIntro}
{showIntro.setData(false)}} />
{/if}