Skip to content

Commit 18597c6

Browse files
authored
1 parent fa3de6b commit 18597c6

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

static/app/components/feedback/feedbackItem/replaySection.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,8 @@ const CLIP_OFFSETS = {
1818
const LazyReplayClipPreviewComponent = lazy(
1919
() => import('sentry/components/events/eventReplay/replayClipPreview')
2020
);
21-
const LazyReplayPreviewComponent = lazy(
22-
() => import('sentry/components/events/eventReplay/replayPreview')
23-
);
2421

2522
export default function ReplaySection({eventTimestampMs, organization, replayId}: Props) {
26-
const hasUserFeedbackReplayClip = organization.features.includes(
27-
'user-feedback-replay-clip'
28-
);
29-
3023
const props = {
3124
analyticsContext: 'feedback',
3225
eventTimestampMs,
@@ -42,13 +35,11 @@ export default function ReplaySection({eventTimestampMs, organization, replayId}
4235
},
4336
};
4437

45-
return hasUserFeedbackReplayClip ? (
38+
return (
4639
<LazyLoad
4740
{...props}
4841
LazyComponent={LazyReplayClipPreviewComponent}
4942
clipOffsets={CLIP_OFFSETS}
5043
/>
51-
) : (
52-
<LazyLoad {...props} LazyComponent={LazyReplayPreviewComponent} />
5344
);
5445
}

0 commit comments

Comments
 (0)