Skip to content

Commit

Permalink
clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
tomrf1 committed Feb 3, 2025
1 parent f6876c1 commit 86a9626
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions support-frontend/assets/helpers/abTests/landingPageAbTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ export function getLandingPageParticipations(
// Use the AB test participations to find the specific variant configuration for this page
export function getLandingPageVariant(
participations: Participations,
tests: LandingPageTest[],
landingPageTests: LandingPageTest[],
): LandingPageVariant & { testName: string } {
for (const test of tests) {
for (const test of landingPageTests) {
// Is the user in this test?
const variantName = participations[test.name];
if (variantName) {
const variant = test.variants.find(
Expand Down

0 comments on commit 86a9626

Please sign in to comment.