From f671ad51fed50d33f4043c37ff58cbded11bc229 Mon Sep 17 00:00:00 2001 From: Alex Khomenko Date: Thu, 24 Oct 2024 15:27:54 +0300 Subject: [PATCH] Alerting: Update Alert State History router import (#95218) Update import --- .../rules/central-state-history/EventListSceneObject.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/alerting/unified/components/rules/central-state-history/EventListSceneObject.tsx b/public/app/features/alerting/unified/components/rules/central-state-history/EventListSceneObject.tsx index 0c57ef96c0a..2c853ed4392 100644 --- a/public/app/features/alerting/unified/components/rules/central-state-history/EventListSceneObject.tsx +++ b/public/app/features/alerting/unified/components/rules/central-state-history/EventListSceneObject.tsx @@ -1,6 +1,6 @@ import { css, cx } from '@emotion/css'; import { ReactElement, useState } from 'react'; -import { useLocation } from 'react-router'; +import { useLocation } from 'react-router-dom-v5-compat'; import { useMeasure } from 'react-use'; import { GrafanaTheme2, IconName, TimeRange } from '@grafana/data';