Skip to content

Commit 2b1440b

Browse files
committed
remove one check
1 parent f4f2809 commit 2b1440b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/browser/src/tracing/browserTracingIntegration.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
TransactionSource,
1818
WebFetchHeaders,
1919
consoleSandbox,
20-
isBrowser,
2120
} from '@sentry/core';
2221
import {
2322
GLOBAL_OBJ,
@@ -238,7 +237,7 @@ let _hasBeenInitialized = false;
238237
* We explicitly export the proper type here, as this has to be extended in some cases.
239238
*/
240239
export const browserTracingIntegration = ((_options: Partial<BrowserTracingOptions> = {}) => {
241-
if (_hasBeenInitialized && isBrowser()) {
240+
if (_hasBeenInitialized) {
242241
consoleSandbox(() => {
243242
// eslint-disable-next-line no-console
244243
console.warn('Multiple browserTracingIntegration instances are not supported.');

0 commit comments

Comments
 (0)