fix: user message formatting

This commit is contained in:
Timothy J. Baek 2023-11-29 17:52:49 -08:00
parent c0638349c0
commit 1dac699589

View File

@ -425,7 +425,7 @@
{/each} {/each}
</div> </div>
{/if} {/if}
{message.content} <pre class="">{message.content}</pre>
<div class=" flex justify-start space-x-1"> <div class=" flex justify-start space-x-1">
{#if message.parentId !== null && message.parentId in history.messages && (history.messages[message.parentId]?.childrenIds.length ?? 0) > 1} {#if message.parentId !== null && message.parentId in history.messages && (history.messages[message.parentId]?.childrenIds.length ?? 0) > 1}