Skip to content

Commit 44835d8

Browse files
committed
Lint fix
1 parent e781872 commit 44835d8

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

packages/core/src/js/tracing/timetodisplay.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ import { fill, getActiveSpan, getSpanDescendants, logger, SEMANTIC_ATTRIBUTE_SEN
33
import * as React from 'react';
44
import { useState } from 'react';
55

6-
import { isTurboModuleEnabled } from '../utils/environment';
76
import { SPAN_ORIGIN_AUTO_UI_TIME_TO_DISPLAY, SPAN_ORIGIN_MANUAL_UI_TIME_TO_DISPLAY } from './origin';
8-
import { getRNSentryOnDrawReporter, nativeComponentExists } from './timetodisplaynative';
7+
import { getRNSentryOnDrawReporter } from './timetodisplaynative';
98
import { setSpanDurationAsMeasurement, setSpanDurationAsMeasurementOnSpan } from './utils';
109

11-
let nativeComponentMissingLogged = false;
12-
1310
/**
1411
* Flags of active spans with manual initial display.
1512
*/

packages/core/test/tracing/timetodisplay.test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ jest.mock('../../src/js/wrapper', () => mockWrapper);
77
import * as mockedtimetodisplaynative from './mockedtimetodisplaynative';
88
jest.mock('../../src/js/tracing/timetodisplaynative', () => mockedtimetodisplaynative);
99

10-
import { isTurboModuleEnabled } from '../../src/js/utils/environment';
1110
jest.mock('../../src/js/utils/environment', () => ({
1211
isWeb: jest.fn().mockReturnValue(false),
1312
isTurboModuleEnabled: jest.fn().mockReturnValue(false),

0 commit comments

Comments
 (0)