remove object dependency (#98686)
This commit is contained in:
parent
c93e028e0c
commit
7eb733f7bd
|
@ -248,9 +248,8 @@ export const AnomaliesTable = (props: Props) => {
|
|||
},
|
||||
defaultPaginationOptions: { pageSize: 10 },
|
||||
}),
|
||||
[timeRange, sorting?.field, sorting?.direction, anomalyThreshold]
|
||||
[timeRange.start, timeRange.end, sorting?.field, sorting?.direction, anomalyThreshold]
|
||||
);
|
||||
|
||||
const {
|
||||
metricsHostsAnomalies,
|
||||
getMetricsHostsAnomalies,
|
||||
|
|
|
@ -224,7 +224,8 @@ export const useMetricsHostsAnomaliesResults = ({
|
|||
sourceId,
|
||||
anomalyThreshold,
|
||||
dispatch,
|
||||
reducerState.timeRange,
|
||||
reducerState.timeRange.start,
|
||||
reducerState.timeRange.end,
|
||||
reducerState.sortOptions,
|
||||
reducerState.paginationOptions,
|
||||
reducerState.paginationCursor,
|
||||
|
|
|
@ -221,7 +221,8 @@ export const useMetricsK8sAnomaliesResults = ({
|
|||
sourceId,
|
||||
anomalyThreshold,
|
||||
dispatch,
|
||||
reducerState.timeRange,
|
||||
reducerState.timeRange.start,
|
||||
reducerState.timeRange.end,
|
||||
reducerState.sortOptions,
|
||||
reducerState.paginationOptions,
|
||||
reducerState.paginationCursor,
|
||||
|
|
Loading…
Reference in a new issue