diff --git a/static/app/components/events/eventReplay/replayPreviewPlayer.tsx b/static/app/components/events/eventReplay/replayPreviewPlayer.tsx index 2af075add070ff..68809cc3ded0a9 100644 --- a/static/app/components/events/eventReplay/replayPreviewPlayer.tsx +++ b/static/app/components/events/eventReplay/replayPreviewPlayer.tsx @@ -103,7 +103,10 @@ export default function ReplayPreviewPlayer({ )} col.width ?? 'max-content').join(' '); const hasInteractiveColumn = columns.some(col => col.interactive); + const organization = useOrganization(); if (isPending) { return ( @@ -126,7 +129,10 @@ export default function ReplayTable({ {columns.map((column, columnIndex) => ( { - const organization = useOrganization(); + Component: ({to}) => { return ( - + @@ -511,7 +505,7 @@ export const ReplaySessionColumn: ReplayTableColumn = { interactive: true, sortKey: 'started_at', width: 'minmax(150px, 1fr)', - Component: ({replay, query}) => { + Component: ({replay, to, className}) => { const routes = useRoutes(); const referrer = getRouteStringFromRoutes(routes); @@ -537,13 +531,7 @@ export const ReplaySessionColumn: ReplayTableColumn = { }); return ( - + );