{#await getNetworks() then types}
{#each Object.entries(types) as [type, networks]}

{type} Networks

    {#each networks as network} {/each}
{/each}
{/await}