diff options
Diffstat (limited to 'src/Navigation.tsx')
-rw-r--r-- | src/Navigation.tsx | 12 |
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> |