Skip to content

Commit

Permalink
updates election banner id
Browse files Browse the repository at this point in the history
  • Loading branch information
HarveyPeachey committed Nov 4, 2024
1 parent e9ee399 commit e5dfba6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/app/pages/ArticlePage/ArticlePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ const ArticlePage = ({ pageData }: { pageData: Article }) => {
palette: { GREY_2, WHITE },
} = useTheme();

const experimentEnabled = useOptimizelyMvtVariation('visible_engagement_2');
const experimentEnabled = useOptimizelyMvtVariation(
'newswb_01_ap_banner_election',
);

const allowAdvertising = pageData?.metadata?.allowAdvertising ?? false;
const adcampaign = pageData?.metadata?.adCampaignKeyword;
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/ArticlePage/ElectionBanner/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function ElectionBanner({ aboutTags, taggings }: Props) {
const { enabled: electionBannerEnabled }: { enabled: boolean | null } =
useToggle('electionBanner');

const variation = useOptimizelyMvtVariation('visible_engagement_2');
const variation = useOptimizelyMvtVariation('newswb_01_ap_banner_election');

if (isLite) return null;

Expand Down

0 comments on commit e5dfba6

Please sign in to comment.