diff --git a/client/ui/MainSharedContext.ts b/client/ui/MainSharedContext.ts index ad4da5e..5e5c178 100644 --- a/client/ui/MainSharedContext.ts +++ b/client/ui/MainSharedContext.ts @@ -9,12 +9,15 @@ type Shared = { }> favouriteChats: Chat[] setFavouriteChats: React.Dispatch> + setShowLoginDialog: React.Dispatch> setShowRegisterDialog: React.Dispatch> setShowAddFavourtieChatDialog: React.Dispatch> - setCurrentSelectedChatId: React.Dispatch> - myProfileCache?: UserMySelf + currentSelectedChatId: string + setCurrentSelectedChatId: React.Dispatch> + + myProfileCache?: UserMySelf } const MainSharedContext = createContext({} as Shared)