diff --git a/src/components/App/SideBar/index.tsx b/src/components/App/SideBar/index.tsx index 6faa5ecb0..3de7630e0 100644 --- a/src/components/App/SideBar/index.tsx +++ b/src/components/App/SideBar/index.tsx @@ -20,7 +20,7 @@ type ContentProp = { // eslint-disable-next-line react/display-name const Content = forwardRef(({ subViewOpen }, ref) => { - const { setSidebarOpen, currentSearch: searchTerm, setSearchFormValue } = useAppStore((s) => s) + const { setSidebarOpen} = useAppStore((s) => s) const hasAiChats = useHasAiChats() @@ -32,7 +32,6 @@ const Content = forwardRef(({ subViewOpen }, ref) = { setSidebarOpen(false) - setSearchFormValue(searchTerm || '') }} > @@ -67,7 +66,7 @@ export const SideBar = () => { return ( <> - +