Skip to content

Commit 7228fa5

Browse files
authored
Merge pull request #13418 from guardian/ph-20250219-0939-component
auxia experiment: call SignInGateAuxia as component, not function
2 parents c604e52 + bb9867d commit 7228fa5

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

dotcom-rendering/src/components/SignInGateSelector.importable.tsx

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -760,17 +760,21 @@ const ShowSignInGateAuxia = ({
760760
});
761761
}, [componentId]);
762762

763-
return SignInGateAuxia({
764-
guUrl: host,
765-
signInUrl,
766-
dismissGate: () => {
767-
setShowGate(false);
768-
},
769-
abTest,
770-
ophanComponentId: componentId,
771-
checkoutCompleteCookieData,
772-
personaliseSignInGateAfterCheckoutSwitch,
773-
userTreatment,
774-
logTreatmentInteractionCall,
775-
});
763+
return (
764+
<SignInGateAuxia
765+
guUrl={host}
766+
signInUrl={signInUrl}
767+
dismissGate={() => {
768+
setShowGate(false);
769+
}}
770+
abTest={abTest}
771+
ophanComponentId={componentId}
772+
checkoutCompleteCookieData={checkoutCompleteCookieData}
773+
personaliseSignInGateAfterCheckoutSwitch={
774+
personaliseSignInGateAfterCheckoutSwitch
775+
}
776+
userTreatment={userTreatment}
777+
logTreatmentInteractionCall={logTreatmentInteractionCall}
778+
/>
779+
);
776780
};

0 commit comments

Comments
 (0)