mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-31 19:45:15 +02:00
replace imperative fetch in the reseacher page
This commit is contained in:
parent
db58571751
commit
7560ea1426
4 changed files with 44 additions and 83 deletions
|
|
@ -32,8 +32,6 @@ export function ChatPanelContainer() {
|
|||
}
|
||||
};
|
||||
|
||||
console.log("activeChatState", activeChatState, activeChatIdState);
|
||||
|
||||
return activeChatIdState ? (
|
||||
<div
|
||||
className={cn(
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue