Skip to content

Commit

Permalink
docs: fix typo (#11868)
Browse files Browse the repository at this point in the history
  • Loading branch information
k2on authored Nov 20, 2024
1 parent a024bb3 commit f6db04e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
});

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f6db04e

Please sign in to comment.