From 9184c9dde678a91e74e88754df8ea894823bd0ba Mon Sep 17 00:00:00 2001 From: Reza Rahemtola Date: Thu, 30 May 2024 21:59:22 +0200 Subject: [PATCH] fix: Remove unused package --- package-lock.json | 1 - package.json | 1 - src/stores/chats-store.js | 2 -- src/stores/knowledge-store.js | 1 - 4 files changed, 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index a9cd059..4e3cf49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "dependencies": { "@libertai/libertai-js": "0.0.4", "@quasar/extras": "^1.16.11", - "@solana/web3.js": "^1.90.0", "aleph-sdk-ts": "^3.9.2", "axios": "^1.2.1", "buffer": "^6.0.3", diff --git a/package.json b/package.json index 46f404f..67b8d48 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "dependencies": { "@libertai/libertai-js": "0.0.4", "@quasar/extras": "^1.16.11", - "@solana/web3.js": "^1.90.0", "aleph-sdk-ts": "^3.9.2", "axios": "^1.2.1", "buffer": "^6.0.3", diff --git a/src/stores/chats-store.js b/src/stores/chats-store.js index d9bf0ee..56bc7bb 100644 --- a/src/stores/chats-store.js +++ b/src/stores/chats-store.js @@ -72,7 +72,6 @@ export const useChatsStore = defineStore(CHATS_STORE_PINIA_KEY, { // Get the partial chats of the form { id, title } let chats = await this.chatsStore.readChats(); this.chats = chats; - }, /** @@ -259,7 +258,6 @@ class ChatsStore { await Promise.all(updatedChats); // Done! - } /** diff --git a/src/stores/knowledge-store.js b/src/stores/knowledge-store.js index c382700..ecba8a1 100644 --- a/src/stores/knowledge-store.js +++ b/src/stores/knowledge-store.js @@ -30,7 +30,6 @@ export const useKnowledgeStore = defineStore(KNOWLEDGE_STORE_PINIA_KEY, { } await Promise.all(addedDocuments); this.documents = docs; - }, async addDocument(title, content, tags = []) { let doc = await this.knowledgeStore.addDocument(title, content, tags);