Fix duplicate keys

This commit is contained in:
Jonathan Staab 2022-12-14 13:24:54 -08:00
parent 8038db26c6
commit dd4bdb9090
3 changed files with 4 additions and 3 deletions

View File

@ -1 +1,2 @@
VITE_DUFFLEPUD_URL=http://localhost:8000
_VITE_DUFFLEPUD_URL=http://localhost:8000
VITE_DUFFLEPUD_URL=https://dufflepud.onrender.com

View File

@ -1,6 +1,6 @@
Bugs
- [ ] Support bech32 keys
- [ ] Support bech32 keys/add guide on how to convert
- [ ] Loading icon not showing at bottom
- [ ] uniq and sortBy are sprinkled all over the place, figure out a better solution
- [ ] With link/image previews, remove the url from the note body if it's on a separate last line

View File

@ -179,7 +179,7 @@
{/if}
{#if depth > 0}
{#each note.children as child (child.id)}
{#each uniqBy(prop('id'), note.children) as child (child.id)}
<div class="ml-5 border-l border-solid border-medium">
<svelte:self note={child} depth={depth - 1} {invertColors} {anchorId} />
</div>