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

Function handlePaginationChange

src/components/OrgLabelsTable.tsx:82–86  ·  view source on GitHub ↗
(newPage: PaginationState)

Source from the content-addressed store, hash-verified

80 }
81
82 const handlePaginationChange = (newPage: PaginationState) => {
83 searchParams.set("page", (newPage.pageIndex + 1).toString());
84 searchParams.set("pageSize", newPage.pageSize.toString());
85 filter({ searchParams });
86 };
87
88 const handleSearchChange = useDebouncedCallback((query: string) => {
89 searchParams.set("query", query);

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected