Skip to content

Commit ee89e99

Browse files
fix diffs
1 parent e853259 commit ee89e99

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/platforms/react-native/migration/sentry-expo.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,22 +46,22 @@ pnpm add @sentry/react-native
4646

4747
Replace all imports of `sentry-expo` with `@sentry/react-native`:
4848

49-
```diff {tabTitle:JavaScript}
49+
```javascript {tabTitle:JavaScript} diff
5050
- import * as Sentry from 'sentry-expo';
5151
+ import * as Sentry from '@sentry/react-native';
5252
```
5353

5454
Replace `sentry-expo` exports `Browser` and `React` with `@sentry/react`:
5555

56-
```diff {tabTitle:JavaScript}
56+
```javascript {tabTitle:JavaScript} diff
5757
- import { Browser, React } from 'sentry-expo';
5858
+ import * as Browser from '@sentry/react';
5959
+ import * as React from '@sentry/react';
6060
```
6161

6262
Replace `sentry-expo` export `Native` with `@sentry/react-native`:
6363

64-
```diff {tabTitle:JavaScript}
64+
```javascript {tabTitle:JavaScript} diff
6565
- import { Native } from 'sentry-expo';
6666
+ import * as Sentry from '@sentry/react-native';
6767
```
@@ -70,7 +70,7 @@ Replace `sentry-expo` export `Native` with `@sentry/react-native`:
7070

7171
The `enableInExpoDevelopment` option is no longer supported. If you were using it, remove it and replace it with a `__DEV__` check, or leave the SDK enabled in development.
7272

73-
```diff {tabTitle:JavaScript}
73+
```javascript {tabTitle:JavaScript} diff
7474
Sentry.init({
7575
- enableInExpoDevelopment: true,
7676
+ enabled: __DEV__,

0 commit comments

Comments
 (0)