Skip to content

Commit

Permalink
Temporary log]
Browse files Browse the repository at this point in the history
  • Loading branch information
IanRamosC committed Aug 1, 2024
1 parent cf56d05 commit 8300c70
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,15 @@ const ConnectionStep = ( { onActivateSite, isActivating }: ConnectionStepProps )
sideloadTracks( async () => {
initializeExPlat();

const { variationName } = await loadExperimentAssignment(
const experimentAssignment = await loadExperimentAssignment(
'jetpack_my_jetpack_post_connection_flow_202408'
);

const { variationName } = experimentAssignment;

// eslint-disable-next-line no-console
console.log( { experimentAssignment } );

if ( variationName === 'control' ) {
window.location.href = 'admin.php?page=my-jetpack#/connection';
}
Expand Down

0 comments on commit 8300c70

Please sign in to comment.