From e51989d8d883c36f6c342c504750b10ebd0b0619 Mon Sep 17 00:00:00 2001 From: rbrtj Date: Mon, 14 Oct 2024 13:45:08 +0200 Subject: [PATCH] fix pagination --- x-pack/plugins/transform/public/app/hooks/use_index_data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/transform/public/app/hooks/use_index_data.ts b/x-pack/plugins/transform/public/app/hooks/use_index_data.ts index 5732a0a747c93..fb2b3628f105f 100644 --- a/x-pack/plugins/transform/public/app/hooks/use_index_data.ts +++ b/x-pack/plugins/transform/public/app/hooks/use_index_data.ts @@ -196,7 +196,7 @@ export const useIndexData = (options: UseIndexDataOptions): UseIndexDataReturnTy setStatus(INDEX_STATUS.LOADED); } // eslint-disable-next-line react-hooks/exhaustive-deps - }, [dataGridDataError, dataGridDataIsError, dataGridDataIsLoading]); + }, [dataGridDataError, dataGridDataIsError, dataGridDataIsLoading, dataGridData]); const allDataViewFieldNames = new Set(dataView.fields.map((f) => f.name)); const { error: histogramsForFieldsError, data: histogramsForFieldsData } =