remove object dependency (#98686)

This commit is contained in:
Sandra Gonzales 2021-04-29 09:14:22 -04:00 committed by GitHub
parent c93e028e0c
commit 7eb733f7bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View file

@ -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,

View file

@ -224,7 +224,8 @@ export const useMetricsHostsAnomaliesResults = ({
sourceId,
anomalyThreshold,
dispatch,
reducerState.timeRange,
reducerState.timeRange.start,
reducerState.timeRange.end,
reducerState.sortOptions,
reducerState.paginationOptions,
reducerState.paginationCursor,

View file

@ -221,7 +221,8 @@ export const useMetricsK8sAnomaliesResults = ({
sourceId,
anomalyThreshold,
dispatch,
reducerState.timeRange,
reducerState.timeRange.start,
reducerState.timeRange.end,
reducerState.sortOptions,
reducerState.paginationOptions,
reducerState.paginationCursor,