We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ed4cfa commit 6ec39b1Copy full SHA for 6ec39b1
src/hooks/abTesting/useIsTestVersion.ts
@@ -4,6 +4,8 @@ import { useFeatureFlagVariantKey } from 'posthog-js/react'
4
export const useIsTestVersion = (variantKey: string) => {
5
const flagValue = useFeatureFlagVariantKey(variantKey)
6
7
+ console.log('AB test : ', flagValue, ' selected for', variantKey)
8
+
9
// Disable the AB testing in the preview environments
10
if (
11
process.env.NEXT_PUBLIC_ENV !== 'production' &&
0 commit comments