File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,12 @@ import {
66 CampaignWithOutput ,
77 useGetCampaignsByCidMetaQuery ,
88} from 'src/features/api' ;
9- import {
10- getLocalizedFunctionalDashboardUrl ,
11- getLocalizedUXDashboardUrl ,
12- } from 'src/hooks/useLocalizeDashboardUrl' ;
9+ import { getLocalizedUXDashboardUrl } from 'src/hooks/useLocalizeDashboardUrl' ;
1310import i18n from 'src/i18n' ;
1411import { openUrl } from 'src/common/openUrl' ;
1512import { Link } from 'react-router-dom' ;
1613import { Pipe } from 'src/common/components/Pipe' ;
14+ import { useLocalizeRoute } from 'src/hooks/useLocalizedRoute' ;
1715import { StatusPill } from 'src/common/components/pills/StatusPill' ;
1816import { DesktopPill } from './devicePills/DesktopPill' ;
1917import { SmartphonePill } from './devicePills/SmartphonePill' ;
@@ -101,9 +99,7 @@ export const Pills = ({ campaign }: { campaign: CampaignWithOutput }) => {
10199 </ Button >
102100 ) }
103101 { outputs ?. includes ( 'bugs' ) && (
104- < Link
105- to = { getLocalizedFunctionalDashboardUrl ( campaign . id , i18n . language ) }
106- >
102+ < Link to = { useLocalizeRoute ( `/campaigns/${ campaign . id } /bugs` ) } >
107103 < Button
108104 id = "button-bugs-list-header"
109105 isPrimary
You can’t perform that action at this time.
0 commit comments