Add chat sorting

This commit is contained in:
Webifi
2023-06-24 15:51:06 -05:00
parent 8835ee1d6e
commit 52affeb83f
7 changed files with 134 additions and 73 deletions

View File

@@ -9,7 +9,7 @@ $: apiKey = $apiKeyStorage
onMount(() => {
if (!$started) {
$started = true
console.log('started', apiKey, $lastChatId, getChat($lastChatId))
// console.log('started', apiKey, $lastChatId, getChat($lastChatId))
if (apiKey && getChat($lastChatId)) {
// const chatId = $lastChatId
$lastChatId = 0