File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
static/app/views/explore/spans Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import {
23
23
} from 'sentry/views/explore/contexts/pageParamsContext' ;
24
24
import { TraceItemAttributeProvider } from 'sentry/views/explore/contexts/traceItemAttributeContext' ;
25
25
import { useGetSavedQuery } from 'sentry/views/explore/hooks/useGetSavedQueries' ;
26
- import { useTraceExploreAiQuerySetup } from 'sentry/views/explore/hooks/useTraceExploreAiQuerySetup' ;
27
26
import { SavedQueryEditMenu } from 'sentry/views/explore/savedQueryEditMenu' ;
28
27
import { SpansTabContent , SpansTabOnboarding } from 'sentry/views/explore/spans/spansTab' ;
29
28
import {
@@ -70,8 +69,6 @@ export function ExploreContent() {
70
69
}
71
70
72
71
function SpansTabWrapper ( { children} : SpansTabContextProps ) {
73
- useTraceExploreAiQuerySetup ( ) ;
74
-
75
72
return (
76
73
< SpansTabTourProvider >
77
74
< SpansTabTourTrigger />
Original file line number Diff line number Diff line change @@ -187,9 +187,9 @@ function SpanTabSearchSection({datePageFilterProps}: SpanTabSearchSectionProps)
187
187
const mode = useExploreMode ( ) ;
188
188
const fields = useExploreFields ( ) ;
189
189
const query = useExploreQuery ( ) ;
190
- const organization = useOrganization ( ) ;
191
190
const setExplorePageParams = useSetExplorePageParams ( ) ;
192
191
192
+ const organization = useOrganization ( ) ;
193
193
const areAiFeaturesAllowed =
194
194
! organization ?. hideAiFeatures && organization . features . includes ( 'gen-ai-features' ) ;
195
195
You can’t perform that action at this time.
0 commit comments