{#each sortedPinnedNotes as note (note.id)}
{ selectedChatId = null; chatId.set(''); if ($mobile) { showSidebar.set(false); } }} draggable="false" >
{note.title}
{/each}