Skip to content

Commit 9f4f4de

Browse files
committed
♻️ Use better naming conventions
1 parent 4fbb092 commit 9f4f4de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/app/views/explore/spans/content.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ function SpansTabHeader() {
121121
const organization = useOrganization();
122122
const {data: savedQuery} = useGetSavedQuery(id);
123123

124-
const showCustomTitle =
124+
const hasSavedQueryTitle =
125125
defined(id) && defined(savedQuery) && savedQuery.name.length > 0;
126126

127127
return (
128128
<Layout.Header unified>
129129
<Layout.HeaderContent unified>
130-
{showCustomTitle ? (
130+
{hasSavedQueryTitle ? (
131131
<SentryDocumentTitle title={savedQuery.name} orgSlug={organization?.slug} />
132132
) : null}
133133
{title && defined(id) ? (

0 commit comments

Comments
 (0)