From cc47e635268b0a1b28d4012d4a4747da9d429a4e Mon Sep 17 00:00:00 2001 From: "Timothy J. Baek" Date: Tue, 21 May 2024 17:42:39 -0700 Subject: [PATCH] fix: chat refac --- src/lib/components/chat/Chat.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index f37e168b4..752410076 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -122,7 +122,7 @@ } onMount(async () => { - if (!chatId) { + if (!$chatId) { await initNewChat(); } else { if (!($settings.saveChatHistory ?? true)) {