about summary refs log tree commit diff
path: root/src/Navigation.tsx
diff options
context:
space:
mode:
authorhailey <me@haileyok.com>2025-05-30 12:13:44 -0700
committerGitHub <noreply@github.com>2025-05-30 12:13:44 -0700
commit2a453cd9cac811da0eb7c802489c6e4bcfe4bd78 (patch)
treed99037b247dca600dfe7f3d39146d1b046d88742 /src/Navigation.tsx
parent4890648116e255ed28c5ae0522a53278a6c35a39 (diff)
downloadvoidsky-2a453cd9cac811da0eb7c802489c6e4bcfe4bd78.tar.zst
invert flag for sending to statsig (#8431)
Diffstat (limited to 'src/Navigation.tsx')
-rw-r--r--src/Navigation.tsx12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/Navigation.tsx b/src/Navigation.tsx
index c98359387..8b981df7c 100644
--- a/src/Navigation.tsx
+++ b/src/Navigation.tsx
@@ -759,16 +759,20 @@ function RoutesContainer({children}: React.PropsWithChildren<{}>) {
         linking={LINKING}
         theme={theme}
         onStateChange={() => {
-          logger.metric('router:navigate', {
-            from: prevLoggedRouteName.current,
-          })
+          logger.metric(
+            'router:navigate',
+            {
+              from: prevLoggedRouteName.current,
+            },
+            {statsig: false},
+          )
           prevLoggedRouteName.current = getCurrentRouteName()
         }}
         onReady={() => {
           attachRouteToLogEvents(getCurrentRouteName)
           logModuleInitTime()
           onReady()
-          logger.metric('router:navigate', {})
+          logger.metric('router:navigate', {}, {statsig: false})
         }}>
         {children}
       </NavigationContainer>