about summary refs log tree commit diff
path: root/src/Navigation.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2023-11-07 04:30:00 +0000
committerGitHub <noreply@github.com>2023-11-07 04:30:00 +0000
commitfa821943da1789ae53d17ff1739a2073ca6c8abb (patch)
treeb9596f348d669e47fae44341d742b735de22ffe3 /src/Navigation.tsx
parent7ffbee18b578cc7f6d5eff6b7b4740eeb278d387 (diff)
downloadvoidsky-fa821943da1789ae53d17ff1739a2073ca6c8abb.tar.zst
Use Sentry only for errors (#1776)
* Use Sentry only for errors

* Fix merge
Diffstat (limited to 'src/Navigation.tsx')
-rw-r--r--src/Navigation.tsx7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/Navigation.tsx b/src/Navigation.tsx
index a6949de23..381f33cf9 100644
--- a/src/Navigation.tsx
+++ b/src/Navigation.tsx
@@ -34,7 +34,6 @@ import {useColorSchemeStyle} from 'lib/hooks/useColorSchemeStyle'
 import {router} from './routes'
 import {usePalette} from 'lib/hooks/usePalette'
 import {useStores} from './state'
-import {getRoutingInstrumentation} from 'lib/sentry'
 import {bskyTitle} from 'lib/strings/headings'
 import {JSX} from 'react/jsx-runtime'
 import {timeout} from 'lib/async/timeout'
@@ -478,12 +477,6 @@ function RoutesContainer({children}: React.PropsWithChildren<{}>) {
         )
         console.log(`Time to first paint: ${initMs} ms`)
         logModuleInitTrace()
-
-        // Register the navigation container with the Sentry instrumentation (only works on native)
-        if (isNative) {
-          const routingInstrumentation = getRoutingInstrumentation()
-          routingInstrumentation.registerNavigationContainer(navigationRef)
-        }
       }}>
       {children}
     </NavigationContainer>