From 2fceec8a4675dadb72b1c3c471d5fd85295e469c Mon Sep 17 00:00:00 2001 From: Evan Purkhiser Date: Fri, 27 Dec 2024 15:55:58 -0500 Subject: [PATCH] ref(browserHistory): Remove from groupList --- static/app/components/issues/groupList.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/app/components/issues/groupList.tsx b/static/app/components/issues/groupList.tsx index 7992c02d8b856e..938e7495d29984 100644 --- a/static/app/components/issues/groupList.tsx +++ b/static/app/components/issues/groupList.tsx @@ -22,7 +22,6 @@ import GroupStore from 'sentry/stores/groupStore'; import {space} from 'sentry/styles/space'; import type {Group} from 'sentry/types/group'; import type {WithRouterProps} from 'sentry/types/legacyReactRouter'; -import {browserHistory} from 'sentry/utils/browserHistory'; import withApi from 'sentry/utils/withApi'; // eslint-disable-next-line no-restricted-imports import withSentryRouter from 'sentry/utils/withSentryRouter'; @@ -235,7 +234,7 @@ class GroupList extends Component { nextPage = undefined; } - browserHistory.push({ + this.props.router.push({ pathname: path, query: {...query, cursor, page: nextPage}, });