@@ -74,7 +74,6 @@ interface ArticleComponentProps {
7474 groupIndex ?: number ;
7575 otherCollectionsOnSameFrontThisCardIsOn ?: OtherCollectionsOnSameFrontThisCardIsOn ;
7676 hasLiveAbTest ?: boolean ;
77- headlineABTestingIsEnabled ?: boolean ;
7877 headlineTestError ?: AbTestHeadlineErrorType | null ;
7978}
8079
@@ -128,7 +127,6 @@ class ArticleCard extends React.Component<ComponentProps, ComponentState> {
128127 groupIndex,
129128 otherCollectionsOnSameFrontThisCardIsOn,
130129 hasLiveAbTest,
131- headlineABTestingIsEnabled,
132130 headlineTestError,
133131 } = this . props ;
134132
@@ -204,7 +202,6 @@ class ArticleCard extends React.Component<ComponentProps, ComponentState> {
204202 intendedAudienceFromTags ( article . tags )
205203 }
206204 hasLiveAbTest = { hasLiveAbTest }
207- headlineABTestingIsEnabled = { headlineABTestingIsEnabled }
208205 headlineTestError = { headlineTestError }
209206 />
210207 </ ArticleBodyContainer >
@@ -228,7 +225,6 @@ const createMapStateToProps = () => {
228225 isLoading : boolean ;
229226 featureFlagPageViewData : boolean ;
230227 hasLiveAbTest ?: boolean ;
231- headlineABTestingIsEnabled : boolean ;
232228 headlineTestError : AbTestHeadlineErrorType | null ;
233229 } => {
234230 const article = selectArticle ( state , props . id ) ;
@@ -241,13 +237,7 @@ const createMapStateToProps = () => {
241237 ) ;
242238 const hasLiveAbTest = hasActiveAbTestOnCard ( liveCard ) ;
243239 const headlineTestError = getCurrentAbTestHeadlineError ( card ) ;
244- /*
245- * Initial rollout of Editorial AB testing will be limited to the US front only.
246- * Removal of this front restriction will be covered by https://github.com/guardian/frontend/issues/29129
247- */
248- const isUSNetworkFront = props . frontId === 'us' ;
249- const headlineABTestingIsEnabled =
250- isUSNetworkFront && selectFeatureValue ( state , 'headline-ab-testing' ) ;
240+
251241 return {
252242 article,
253243 isLoading : selectors . selectIsLoadingInitialDataById ( state , card . id ) ,
@@ -256,7 +246,6 @@ const createMapStateToProps = () => {
256246 'page-view-data-visualisation' ,
257247 ) ,
258248 hasLiveAbTest : hasLiveAbTest ,
259- headlineABTestingIsEnabled : headlineABTestingIsEnabled ,
260249 headlineTestError : headlineTestError ,
261250 } ;
262251 } ;
0 commit comments