@@ -25,6 +25,7 @@ import {usePageAlert} from 'sentry/utils/performance/contexts/pageAlert';
2525import { MutableSearch } from 'sentry/utils/tokenizeSearch' ;
2626import { normalizeUrl } from 'sentry/utils/url/normalizeUrl' ;
2727import { useLocation } from 'sentry/utils/useLocation' ;
28+ import { useNavigate } from 'sentry/utils/useNavigate' ;
2829import { withApi } from 'sentry/utils/withApi' ;
2930import { getResourcesEventViewQuery } from 'sentry/views/insights/browser/common/queries/useResourcesQuery' ;
3031import { DEFAULT_RESOURCE_TYPES } from 'sentry/views/insights/browser/resources/settings' ;
@@ -105,6 +106,7 @@ const integrationEmptyStateWidgets = [
105106
106107export function LineChartListWidget ( props : PerformanceWidgetProps ) {
107108 const location = useLocation ( ) ;
109+ const navigate = useNavigate ( ) ;
108110 const mepSetting = useMEPSettingContext ( ) ;
109111 const [ selectedListIndex , setSelectListIndex ] = useState < number > ( 0 ) ;
110112 const { organization, InteractiveTitle} = props ;
@@ -618,6 +620,7 @@ export function LineChartListWidget(props: PerformanceWidgetProps) {
618620 excludeTransaction ( listItem . transaction ! , {
619621 eventView : props . eventView ,
620622 location,
623+ navigate,
621624 } )
622625 }
623626 />
@@ -642,6 +645,7 @@ export function LineChartListWidget(props: PerformanceWidgetProps) {
642645 excludeTransaction ( listItem . transaction ! , {
643646 eventView : props . eventView ,
644647 location,
648+ navigate,
645649 } )
646650 }
647651 />
@@ -673,6 +677,7 @@ export function LineChartListWidget(props: PerformanceWidgetProps) {
673677 excludeTransaction ( listItem . transaction ! , {
674678 eventView : props . eventView ,
675679 location,
680+ navigate,
676681 } )
677682 }
678683 />
@@ -717,6 +722,7 @@ export function LineChartListWidget(props: PerformanceWidgetProps) {
717722 excludeTransaction ( listItem . transaction ! , {
718723 eventView : props . eventView ,
719724 location,
725+ navigate,
720726 } )
721727 }
722728 />
@@ -745,6 +751,7 @@ export function LineChartListWidget(props: PerformanceWidgetProps) {
745751 excludeTransaction ( listItem . transaction ! , {
746752 eventView : props . eventView ,
747753 location,
754+ navigate,
748755 } )
749756 }
750757 />
@@ -769,6 +776,7 @@ export function LineChartListWidget(props: PerformanceWidgetProps) {
769776 excludeTransaction ( listItem . transaction ! , {
770777 eventView : props . eventView ,
771778 location,
779+ navigate,
772780 } )
773781 }
774782 />
@@ -789,6 +797,7 @@ export function LineChartListWidget(props: PerformanceWidgetProps) {
789797 excludeTransaction ( listItem . transaction ! , {
790798 eventView : props . eventView ,
791799 location,
800+ navigate,
792801 } )
793802 }
794803 />
0 commit comments