Skip to content

Commit

Permalink
Use the same id as we were using
Browse files Browse the repository at this point in the history
  • Loading branch information
escapemanuele committed Dec 11, 2024
1 parent 248f9e6 commit 3805fe2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/help-center/src/components/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,11 @@ export const matchSupportInteractionId = (
};

export const isUseHelpCenterExperienceEnabled = ( userId: number ): boolean => {
if ( ! userId || userId % 100 >= 75 ) {
if ( ! userId ) {
return false;
}
return true;
if ( userId % 100 < 75 ) {
return true;
}
return false;
};

0 comments on commit 3805fe2

Please sign in to comment.