about summary refs log tree commit diff
path: root/src/screens/Onboarding/StepInterests/index.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-05-21 00:17:57 +0100
committerGitHub <noreply@github.com>2024-05-21 00:17:57 +0100
commit4fa92d7a49e8a1e6118053de4d5d4174b894b528 (patch)
tree738a68135e30dfc323765213ed52aa78b9d80eea /src/screens/Onboarding/StepInterests/index.tsx
parent516eb69637d4d71cb25397376f9e1e5d3680f314 (diff)
downloadvoidsky-4fa92d7a49e8a1e6118053de4d5d4174b894b528.tar.zst
[Statsig] Fix exposure logging for reduced onboarding (#4131)
* Add dangerouslyDisableExposureLogging option

* Rename onboarding gate to v2

* Disable exposure logging for onboarding in PostFeed query
Diffstat (limited to 'src/screens/Onboarding/StepInterests/index.tsx')
-rw-r--r--src/screens/Onboarding/StepInterests/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/Onboarding/StepInterests/index.tsx b/src/screens/Onboarding/StepInterests/index.tsx
index 2711f6779..d95445d79 100644
--- a/src/screens/Onboarding/StepInterests/index.tsx
+++ b/src/screens/Onboarding/StepInterests/index.tsx
@@ -134,7 +134,7 @@ export function StepInterests() {
   }, [track])
 
   React.useEffect(() => {
-    if (!gate('reduced_onboarding_and_home_algo')) {
+    if (!gate('reduced_onboarding_and_home_algo_v2')) {
       requestNotificationsPermission('StartOnboarding')
     }
   }, [gate, requestNotificationsPermission])