Skip to content

Commit

Permalink
add a key to the chat list #each (#4962)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianjelfs authored Dec 7, 2023
1 parent 1a36b5e commit 0b775e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/src/components/home/ChatList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
{#if searchResultsAvailable && chats.length > 0}
<h3 class="search-subtitle">{$_("yourChats")}</h3>
{/if}
{#each chats as chatSummary}
{#each chats as chatSummary (chatSummary.id)}
<ChatSummary
{chatSummary}
selected={chatIdentifiersEqual($selectedChatId, chatSummary.id)}
Expand Down

0 comments on commit 0b775e8

Please sign in to comment.