Explorar el Código

fix: chat refac

Timothy J. Baek hace 11 meses
padre
commit
cc47e63526
Se han modificado 1 ficheros con 1 adiciones y 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)) {