File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import { SmartphonePill } from './devicePills/SmartphonePill';
2020import { TabletPill } from './devicePills/TabletPill' ;
2121import { CampaignTypePill } from './CampaignTypePill' ;
2222import { CampaignDurationPill } from './CampaignDurationPill' ;
23+ import { useLocalizeRoute } from 'src/hooks/useLocalizedRoute' ;
2324
2425const ButtonWrapper = styled . div `
2526 display: flex;
@@ -101,9 +102,7 @@ export const Pills = ({ campaign }: { campaign: CampaignWithOutput }) => {
101102 </ Button >
102103 ) }
103104 { outputs ?. includes ( 'bugs' ) && (
104- < Link
105- to = { getLocalizedFunctionalDashboardUrl ( campaign . id , i18n . language ) }
106- >
105+ < Link to = { useLocalizeRoute ( `/campaigns/${ campaign . id } /bugs` ) } >
107106 < Button
108107 id = "button-bugs-list-header"
109108 isPrimary
You can’t perform that action at this time.
0 commit comments