From f6db04ea16454b39f93e33a76723b88f6d44388e Mon Sep 17 00:00:00 2001 From: Max Koon Date: Wed, 20 Nov 2024 15:18:37 -0500 Subject: [PATCH] docs: fix typo (#11868) --- .../react-native/tracing/instrumentation/expo-router.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/platforms/react-native/tracing/instrumentation/expo-router.mdx b/docs/platforms/react-native/tracing/instrumentation/expo-router.mdx index 5765792f85939..dac7efe69c2d9 100644 --- a/docs/platforms/react-native/tracing/instrumentation/expo-router.mdx +++ b/docs/platforms/react-native/tracing/instrumentation/expo-router.mdx @@ -16,7 +16,7 @@ import { Slot, useNavigationContainerRef } from 'expo-router'; import Constants, { ExecutionEnvironment } from 'expo-constants'; import * as Sentry from '@sentry/react-native'; -const navigationIntegration = Sentry.reactNavigationintegration({ +const navigationIntegration = Sentry.reactNavigationIntegration({ enableTimeToInitialDisplay: Constants.executionEnvironment === ExecutionEnvironment.StoreClient, // Only in native builds, not in Expo Go. }); @@ -48,7 +48,7 @@ export default Sentry.wrap(RootLayout); You can configure the instrumentation by passing an options object to the constructor: ```javascript -Sentry.reactNavigationintegration({ +Sentry.reactNavigationIntegration({ enableTimeToInitialDisplay: true, // default: false routeChangeTimeoutMs: 1000, // default: 1000 ignoreEmptyBackNavigationTransactions: true, // default: true