Skip to content

Commit 1636b83

Browse files
Merge branch 'main' into kw-starter-wizard-open-url
2 parents ca371c6 + 8f384b3 commit 1636b83

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
### Features
1212

13-
- Introducing `@sentry/react-native/playground` ([#4916](https://github.com/getsentry/sentry-react-native/pull/4916), [#4918](https://github.com/getsentry/sentry-react-native/pull/4918))
13+
- Introducing `@sentry/react-native/playground` ([#4916](https://github.com/getsentry/sentry-react-native/pull/4916), [#4918](https://github.com/getsentry/sentry-react-native/pull/4918)))
1414

1515
The new `withSentryPlayground` component allows developers to verify
1616
that the SDK is properly configured and reports errors as expected.

packages/core/src/js/playground/modal.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/* eslint-disable max-lines */
2+
import { logger } from '@sentry/core';
23
import * as React from 'react';
34
import {
45
Animated,
@@ -14,7 +15,8 @@ import {
1415
} from 'react-native';
1516

1617
import { openURLInBrowser } from '../metro/openUrlInBrowser';
17-
import { isExpoGo, isWeb } from '../utils/environment';
18+
import { getDevServer } from '../integrations/debugsymbolicatorutils';
19+
import { isExpo, isExpoGo, isWeb } from '../utils/environment';
1820
import { bug as bugAnimation, hi as hiAnimation, thumbsup as thumbsupAnimation } from './animations';
1921
import { nativeCrashExample, tryCatchExample, uncaughtErrorExample } from './examples';
2022
import { bug as bugImage, hi as hiImage, thumbsup as thumbsupImage } from './images';
@@ -51,7 +53,7 @@ export const withSentryPlayground = <P extends object>(
5153
);
5254
};
5355

54-
Wrapper.displayName = 'withSentryPlayground()';
56+
Wrapper.displayName = `withSentryPlayground()`;
5557
return Wrapper;
5658
};
5759

0 commit comments

Comments
 (0)