{#if notes}
    {#each notes as note}
  • handleMouseOverLi(note.id)} on:mouseout={() => handleMouseOutLi(note.id)}>
    onNoteLiClick(note)}>
    {note.title}
    {note.lastViewed.toLocaleDateString()}
  • {/each}
{/if}