From 2e0222d1c129471ee0c7788ee2219c89319a6e16 Mon Sep 17 00:00:00 2001 From: pablodanswer Date: Fri, 23 Aug 2024 09:15:50 -0700 Subject: [PATCH] logotype from toggle -> redirect (#2222) --- web/src/app/assistants/SidebarWrapper.tsx | 1 - web/src/app/chat/ChatPage.tsx | 2 +- .../app/chat/sessionSidebar/HistorySidebar.tsx | 10 +--------- .../app/chat/shared_chat_search/FixedLogo.tsx | 17 ++++++++--------- 4 files changed, 10 insertions(+), 20 deletions(-) diff --git a/web/src/app/assistants/SidebarWrapper.tsx b/web/src/app/assistants/SidebarWrapper.tsx index 682f5d3c07e..2feae589240 100644 --- a/web/src/app/assistants/SidebarWrapper.tsx +++ b/web/src/app/assistants/SidebarWrapper.tsx @@ -1,7 +1,6 @@ "use client"; import { HistorySidebar } from "@/app/chat/sessionSidebar/HistorySidebar"; - import { ChatSession } from "@/app/chat/interfaces"; import { Folder } from "@/app/chat/folders/interfaces"; import { User } from "@/lib/types"; diff --git a/web/src/app/chat/ChatPage.tsx b/web/src/app/chat/ChatPage.tsx index 2b90baabbf5..cfbe2ba72f6 100644 --- a/web/src/app/chat/ChatPage.tsx +++ b/web/src/app/chat/ChatPage.tsx @@ -2028,7 +2028,7 @@ export function ChatPage({ )} - + null, -}: { - toggleSidebar?: () => void; -}) { +export default function FixedLogo() { const combinedSettings = useContext(SettingsContext); const settings = combinedSettings?.settings; const enterpriseSettings = combinedSettings?.enterpriseSettings; return ( <> -
@@ -39,7 +38,7 @@ export default function FixedLogo({ )}
-
+