fix: all response messages re-rendering on new message

This commit is contained in:
Timothy J. Baek 2024-09-07 04:54:48 +01:00
parent 5c8fb4b3d5
commit a3094bcd1b

View File

@ -334,7 +334,7 @@
copyToClipboard={copyToClipboardWithToast}
/>
{:else if (history.messages[message.parentId]?.models?.length ?? 1) === 1}
{#key message.id && history.currentId}
{#key message.id}
<ResponseMessage
{message}
siblings={history.messages[message.parentId]?.childrenIds ?? []}