about summary refs log tree commit diff
path: root/src/screens/Onboarding/StepProfile/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/StepProfile/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/StepProfile/index.tsx')
-rw-r--r--src/screens/Onboarding/StepProfile/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screens/Onboarding/StepProfile/index.tsx b/src/screens/Onboarding/StepProfile/index.tsx
index 93d8a4020..fc19d5bb3 100644
--- a/src/screens/Onboarding/StepProfile/index.tsx
+++ b/src/screens/Onboarding/StepProfile/index.tsx
@@ -94,7 +94,7 @@ export function StepProfile() {
   React.useEffect(() => {
     // We have an experiment running for redueced onboarding, where this screen shows up as the first in onboarding.
     // We only want to request permissions when that gate is actually active to prevent pollution
-    if (gate('reduced_onboarding_and_home_algo')) {
+    if (gate('reduced_onboarding_and_home_algo_v2')) {
       requestNotificationsPermission('StartOnboarding')
     }
   }, [gate, requestNotificationsPermission])