Explorar o código

fix: chat refac

Timothy J. Baek hai 11 meses
pai
achega
cc47e63526
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/lib/components/chat/Chat.svelte

+ 1 - 1
src/lib/components/chat/Chat.svelte

@@ -122,7 +122,7 @@
 	}
 
 	onMount(async () => {
-		if (!chatId) {
+		if (!$chatId) {
 			await initNewChat();
 		} else {
 			if (!($settings.saveChatHistory ?? true)) {