Skip to content

Commit b73da24

Browse files
committed
adjust transactionview types
1 parent 9f21d09 commit b73da24

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/sentry/static/sentry/app/views/organizationEventsV2/transactionView/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ import SentryTypes from 'app/sentryTypes';
55

66
import {Panel, PanelHeader, PanelBody} from 'app/components/panels';
77

8-
import {SentryEvent} from './types';
8+
import {SentryTransactionEvent} from './types';
99
import TraceView from './traceView';
1010

1111
type PropType = {
12-
event: SentryEvent;
12+
event: SentryTransactionEvent;
1313
};
1414

1515
class TransanctionView extends React.Component<PropType> {

src/sentry/static/sentry/app/views/organizationEventsV2/transactionView/traceView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import EmptyStateWarning from 'app/components/emptyStateWarning';
66

77
import DragManager, {DragManagerChildrenProps} from './dragManager';
88
import SpanTree from './spanTree';
9-
import {SpanType, SpanEntry, SentryEvent, ParsedTraceType} from './types';
9+
import {SpanType, SpanEntry, SentryTransactionEvent, ParsedTraceType} from './types';
1010
import {isValidSpanID} from './utils';
1111
import TraceViewMinimap from './minimap';
1212

@@ -17,7 +17,7 @@ type TraceContextType = {
1717
};
1818

1919
type PropType = {
20-
event: Readonly<SentryEvent>;
20+
event: Readonly<SentryTransactionEvent>;
2121
};
2222

2323
class TraceView extends React.Component<PropType> {

src/sentry/static/sentry/app/views/organizationEventsV2/transactionView/types.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export type SpanEntry = {
1515
data: Array<SpanType>;
1616
};
1717

18-
export type SentryEvent = {
18+
export type SentryTransactionEvent = {
1919
entries: Array<SpanEntry>;
2020
startTimestamp: number;
2121
endTimestamp: number;

0 commit comments

Comments
 (0)