replace imperative fetch in the reseacher page

This commit is contained in:
thierryverse 2025-11-18 23:16:02 +02:00
parent db58571751
commit 7560ea1426
4 changed files with 44 additions and 83 deletions

View file

@ -32,8 +32,6 @@ export function ChatPanelContainer() {
}
};
console.log("activeChatState", activeChatState, activeChatIdState);
return activeChatIdState ? (
<div
className={cn(

View file

@ -51,7 +51,7 @@ export function AppSidebarProvider({
useAtom(deleteChatMutationAtom);
useEffect(() => {
setChatsQueryParams((prev) => ({ ...prev, search_space_id: searchSpaceId, skip: 0, limit: 2 }));
setChatsQueryParams((prev) => ({ ...prev, search_space_id: searchSpaceId, skip: 0, limit: 5 }));
}, [searchSpaceId]);
const {