From 2a453cd9cac811da0eb7c802489c6e4bcfe4bd78 Mon Sep 17 00:00:00 2001 From: hailey Date: Fri, 30 May 2025 12:13:44 -0700 Subject: invert flag for sending to statsig (#8431) --- src/Navigation.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/Navigation.tsx') 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} -- cgit 1.4.1