From 7481f78f22e05f05a6118e6bee3ef04c50e13dce Mon Sep 17 00:00:00 2001 From: sabaimran Date: Fri, 17 Jan 2025 17:18:47 -0800 Subject: [PATCH] Remove unused API request --- src/interface/web/app/components/chatSidebar/chatSidebar.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/interface/web/app/components/chatSidebar/chatSidebar.tsx b/src/interface/web/app/components/chatSidebar/chatSidebar.tsx index 9d3588e0..8ebd3243 100644 --- a/src/interface/web/app/components/chatSidebar/chatSidebar.tsx +++ b/src/interface/web/app/components/chatSidebar/chatSidebar.tsx @@ -25,8 +25,6 @@ interface ChatSideBarProps { const fetcher = (url: string) => fetch(url).then((res) => res.json()); export function ChatSidebar({ ...props }: ChatSideBarProps) { - const { data: agentConfigurationOptions, error: agentConfigurationOptionsError } = - useSWR("/api/agents/options", fetcher); if (props.isMobileWidth) { return (