@@ -17,11 +17,9 @@ import TimeAndScrubberGrid from 'sentry/components/replays/timeAndScrubberGrid';
17
17
import { IconNext , IconPrevious } from 'sentry/icons' ;
18
18
import { t } from 'sentry/locale' ;
19
19
import { space } from 'sentry/styles/space' ;
20
- import EventView from 'sentry/utils/discover/eventView' ;
21
20
import getRouteStringFromRoutes from 'sentry/utils/getRouteStringFromRoutes' ;
22
21
import { TabKey } from 'sentry/utils/replays/hooks/useActiveReplayTab' ;
23
22
import useMarkReplayViewed from 'sentry/utils/replays/hooks/useMarkReplayViewed' ;
24
- import { useLocation } from 'sentry/utils/useLocation' ;
25
23
import useOrganization from 'sentry/utils/useOrganization' ;
26
24
import { useParams } from 'sentry/utils/useParams' ;
27
25
import { useRoutes } from 'sentry/utils/useRoutes' ;
@@ -56,12 +54,10 @@ export default function ReplayPreviewPlayer({
56
54
showNextAndPrevious ?: boolean ;
57
55
} ) {
58
56
const routes = useRoutes ( ) ;
59
- const location = useLocation ( ) ;
60
57
const organization = useOrganization ( ) ;
61
58
const [ isSidebarOpen , setIsSidebarOpen ] = useState ( true ) ;
62
59
const { replay, currentTime, isFetching, isFinished, isPlaying, isVideoReplay} =
63
60
useReplayContext ( ) ;
64
- const eventView = EventView . fromLocation ( location ) ;
65
61
66
62
const fullscreenRef = useRef < HTMLDivElement | null > ( null ) ;
67
63
const { toggle : toggleFullscreen } = useFullscreen ( {
@@ -98,9 +94,7 @@ export default function ReplayPreviewPlayer({
98
94
) }
99
95
< HeaderWrapper >
100
96
< StyledReplayCell
101
- eventView = { eventView }
102
97
key = "session"
103
- referrer = "issue-details-replay-header"
104
98
replay = { replayRecord as ReplayListRecord }
105
99
rowIndex = { 0 }
106
100
/>
0 commit comments