Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(prompts): bottom pagination buttons didn't respond (#7421)

Nimar2626c1a57cc3
diff --git a/web/src/features/prompts/components/prompts-table.tsx b/web/src/features/prompts/components/prompts-table.tsx
index c1f806d965..f1151dfae7 100644
--- a/web/src/features/prompts/components/prompts-table.tsx
+++ b/web/src/features/prompts/components/prompts-table.tsx
@@ -486,12 +486,7 @@ export function PromptTable() {
setOrderBy={setOrderByState}
pagination={{
totalCount,
- onChange: (newPaginationState) => {
- setQueryParams({
- ...queryParams,
- ...newPaginationState,
- });
- },
+ onChange: setQueryParams,
state: paginationState,
}}
/>