{#if $bookmarks_store.length !== 0} {#snippet title()}
Bookmarks
{/snippet} {#snippet body()} {#each $bookmarks_store as bookmark, index (bookmark.id)}
drag(e, index)} ondrop={e => drop(e, index)} ondragover={e => {e.preventDefault(); e.stopPropagation()}} ondragenter={() => {if (editing) hovering = index}} use:move_target={{nav: global_navigator, node: () => bookmark}} ondragend={() => {hovering = -1}} class:highlight={hovering === index} animate:flip={{duration: 300}} > {#if editing} {:else} Bookmark icon {bookmark.label} {/if}
{/each} {/snippet}
{:else if $bookmarks_failed}
Could not load bookmarks
{/if}