mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
Fix incorrect store name
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
export let currentChatMessages = writable([] as Message[])
|
||||
export let started = writable(false)
|
||||
export let currentChatId = writable(0)
|
||||
export let lastChatId = persisted('currentChatId', 0)
|
||||
export let lastChatId = persisted('lastChatId', 0)
|
||||
|
||||
const chatDefaults = getChatDefaults()
|
||||
|
||||
@@ -235,6 +235,7 @@
|
||||
currentChatId.set(0)
|
||||
lastChatId.set(0)
|
||||
currentChatMessages.set([])
|
||||
return
|
||||
}
|
||||
setChatTimer = setTimeout(() => {
|
||||
currentChatId.set(chatId)
|
||||
|
||||
Reference in New Issue
Block a user