From 684a7f0455a98ea0aeafb7384b0458df8f96961a Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 30 Nov 2024 00:36:01 -0800 Subject: [PATCH] refac --- src/lib/components/chat/Messages/Error.svelte | 4 ++-- src/lib/components/chat/Messages/ResponseMessage.svelte | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/components/chat/Messages/Error.svelte b/src/lib/components/chat/Messages/Error.svelte index 3a6d7cc30..cc7103663 100644 --- a/src/lib/components/chat/Messages/Error.svelte +++ b/src/lib/components/chat/Messages/Error.svelte @@ -4,9 +4,9 @@ export let content = ''; -
+
- +
diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 75d1dfb59..2e883df93 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -658,7 +658,7 @@ /> {/if} - {#if message.error} + {#if message?.error} {/if}