diff --git a/static/app/views/explore/spans/content.tsx b/static/app/views/explore/spans/content.tsx index 2239f5b5fb24ec..da69c049274b98 100644 --- a/static/app/views/explore/spans/content.tsx +++ b/static/app/views/explore/spans/content.tsx @@ -39,9 +39,8 @@ export function ExploreContent() { Sentry.setTag('explore.visited', 'yes'); const organization = useOrganization(); - const datePageFilterProps = limitMaxPickableDays(organization); - const onboardingProject = useOnboardingProject(); + const datePageFilterProps = limitMaxPickableDays(organization); return ( @@ -119,11 +118,18 @@ function ExploreTagsProvider({children}: SpansTabContextProps) { function SpansTabHeader() { const id = useQueryParamsId(); const title = useQueryParamsTitle(); + const organization = useOrganization(); const {data: savedQuery} = useGetSavedQuery(id); + const hasSavedQueryTitle = + defined(id) && defined(savedQuery) && savedQuery.name.length > 0; + return ( + {hasSavedQueryTitle ? ( + + ) : null} {title && defined(id) ? ( ) : null}