From 6ea8d6979f368d8a26b2dced3fab5c5da504d57a Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sat, 13 Dec 2025 18:08:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=85=B1=E4=BA=AB=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=9A=84=E7=B1=BB=E5=9E=8B=E5=AE=9A=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/ui/MainSharedContext.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/ui/MainSharedContext.ts b/client/ui/MainSharedContext.ts index 8271755..cdef944 100644 --- a/client/ui/MainSharedContext.ts +++ b/client/ui/MainSharedContext.ts @@ -14,7 +14,8 @@ type Shared = { setShowRegisterDialog: React.Dispatch> setShowAddFavourtieChatDialog: React.Dispatch> - setCurrentSelectedChatId: React.Dispatch> + setCurrentSelectedChatId: (id: string) => void + setFavouriteChats: (chats: Chat[]) => void } const MainSharedContext = createContext({} as Shared)