Selaa lähdekoodia

fix: chat refac

Timothy J. Baek 11 kuukautta sitten
vanhempi
commit
cc47e63526
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)) {