MCPcopy
hub / github.com/fosrl/pangolin / handlePaginationChange

Function handlePaginationChange

src/components/UsersTable.tsx:325–331  ·  view source on GitHub ↗
(newPage: PaginationState)

Source from the content-addressed store, hash-verified

323 }
324
325 const handlePaginationChange = (newPage: PaginationState) => {
326 searchParams.set("page", (newPage.pageIndex + 1).toString());
327 searchParams.set("pageSize", newPage.pageSize.toString());
328 filter({
329 searchParams
330 });
331 };
332
333 const handleSearchChange = useDebouncedCallback((query: string) => {
334 searchParams.set("query", query);

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected