diff --git a/static/app/views/automations/components/automationStatsChart.tsx b/static/app/views/automations/components/automationStatsChart.tsx
index f776289ee3b747..a63da166bb8392 100644
--- a/static/app/views/automations/components/automationStatsChart.tsx
+++ b/static/app/views/automations/components/automationStatsChart.tsx
@@ -1,8 +1,8 @@
import styled from '@emotion/styled';
import {BarChart} from 'sentry/components/charts/barChart';
-import ChartZoom from 'sentry/components/charts/chartZoom';
import {HeaderTitleLegend} from 'sentry/components/charts/styles';
+import {useChartZoom} from 'sentry/components/charts/useChartZoom';
import type {DateTimeObject} from 'sentry/components/charts/utils';
import LoadingError from 'sentry/components/loadingError';
import Panel from 'sentry/components/panels/panel';
@@ -28,6 +28,7 @@ export function AutomationStatsChart({
utc,
}: IssueAlertDetailsProps) {
const organization = useOrganization();
+ const chartZoomProps = useChartZoom({saveOnZoom: true});
const {
data: fireHistory,
isPending,
@@ -59,37 +60,32 @@ export function AutomationStatsChart({
{isPending && }
{isError && }
{fireHistory && (
-
- {zoomRenderProps => (
- ({
- name: automation.date,
- value: automation.count,
- })) ?? [],
- emphasis: {
- disabled: true,
- },
- },
- ]}
- />
- )}
-
+ ({
+ name: automation.date,
+ value: automation.count,
+ })),
+ emphasis: {
+ disabled: true,
+ },
+ animation: false,
+ },
+ ]}
+ />
)}