File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,12 @@ import type {Group} from 'sentry/types/group';
88import type { Project } from 'sentry/types/project' ;
99import { getConfigForIssueType } from 'sentry/utils/issueTypeConfig' ;
1010import useReplayCountForIssues from 'sentry/utils/replayCount/useReplayCountForIssues' ;
11- import { useLocation } from 'sentry/utils/useLocation' ;
1211import { Divider } from 'sentry/views/issueDetails/divider' ;
1312import { Tab , TabPaths } from 'sentry/views/issueDetails/types' ;
1413import { useGroupDetailsRoute } from 'sentry/views/issueDetails/useGroupDetailsRoute' ;
1514
1615export function ReplayBadge ( { group, project} : { group : Group ; project : Project } ) {
1716 const { baseUrl} = useGroupDetailsRoute ( ) ;
18- const location = useLocation ( ) ;
1917 const issueTypeConfig = getConfigForIssueType ( group , project ) ;
2018 const { getReplayCountForIssue} = useReplayCountForIssues ( {
2119 statsPeriod : '90d' ,
@@ -36,7 +34,6 @@ export function ReplayBadge({group, project}: {group: Group; project: Project})
3634 icon = { < IconPlay size = "xs" /> }
3735 to = { {
3836 pathname : `${ baseUrl } ${ TabPaths [ Tab . REPLAYS ] } ` ,
39- query : location . query ,
4037 } }
4138 replace
4239 aria-label = { t ( "View this issue's replays" ) }
Original file line number Diff line number Diff line change @@ -7,14 +7,12 @@ import {t, tn} from 'sentry/locale';
77import type { Group } from 'sentry/types/group' ;
88import type { Project } from 'sentry/types/project' ;
99import { getConfigForIssueType } from 'sentry/utils/issueTypeConfig' ;
10- import { useLocation } from 'sentry/utils/useLocation' ;
1110import { Divider } from 'sentry/views/issueDetails/divider' ;
1211import { Tab , TabPaths } from 'sentry/views/issueDetails/types' ;
1312import { useGroupDetailsRoute } from 'sentry/views/issueDetails/useGroupDetailsRoute' ;
1413
1514export function UserFeedbackBadge ( { group, project} : { group : Group ; project : Project } ) {
1615 const { baseUrl} = useGroupDetailsRoute ( ) ;
17- const location = useLocation ( ) ;
1816
1917 const issueTypeConfig = getConfigForIssueType ( group , project ) ;
2018
@@ -32,7 +30,6 @@ export function UserFeedbackBadge({group, project}: {group: Group; project: Proj
3230 icon = { < IconMegaphone size = "xs" /> }
3331 to = { {
3432 pathname : `${ baseUrl } ${ TabPaths [ Tab . USER_FEEDBACK ] } ` ,
35- query : location . query ,
3633 } }
3734 replace
3835 aria-label = { t ( "View this issues's feedback" ) }
You can’t perform that action at this time.
0 commit comments