Skip to content

Commit

Permalink
remove object dependency (#98686)
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunian authored Apr 29, 2021
1 parent c93e028 commit 7eb733f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ export const useMetricsHostsAnomaliesResults = ({
sourceId,
anomalyThreshold,
dispatch,
reducerState.timeRange,
reducerState.timeRange.start,
reducerState.timeRange.end,
reducerState.sortOptions,
reducerState.paginationOptions,
reducerState.paginationCursor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ export const useMetricsK8sAnomaliesResults = ({
sourceId,
anomalyThreshold,
dispatch,
reducerState.timeRange,
reducerState.timeRange.start,
reducerState.timeRange.end,
reducerState.sortOptions,
reducerState.paginationOptions,
reducerState.paginationCursor,
Expand Down

0 comments on commit 7eb733f

Please sign in to comment.