mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 16:56:22 +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
|
|
@ -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