Browse Source

fix(teamStats): Remove sub-header from health tab (#31499)

Scott Cooper 3 years ago
parent
commit
e569011bfa

+ 0 - 8
static/app/views/organizationStats/teamInsights/health.tsx

@@ -7,7 +7,6 @@ import LoadingIndicator from 'sentry/components/loadingIndicator';
 import NoProjectMessage from 'sentry/components/noProjectMessage';
 import SentryDocumentTitle from 'sentry/components/sentryDocumentTitle';
 import {t} from 'sentry/locale';
-import space from 'sentry/styles/space';
 import {TeamWithProjects} from 'sentry/types';
 import trackAdvancedAnalyticsEvent from 'sentry/utils/analytics/trackAdvancedAnalyticsEvent';
 import localStorage from 'sentry/utils/localStorage';
@@ -73,7 +72,6 @@ function TeamStatsHealth({location, router}: Props) {
         {!initiallyLoaded && <LoadingIndicator />}
         {initiallyLoaded && (
           <Layout.Main fullWidth>
-            <SectionTitle>{t('Project Health')}</SectionTitle>
             <DescriptionCard
               title={t('Crash Free Sessions')}
               description={t(
@@ -152,9 +150,3 @@ const Body = styled(Layout.Body)`
     display: block;
   }
 `;
-
-const SectionTitle = styled('h2')`
-  font-size: ${p => p.theme.fontSizeExtraLarge};
-  margin-top: ${space(2)};
-  margin-bottom: ${space(1)};
-`;

+ 1 - 1
static/app/views/organizationStats/teamInsights/teamUnresolvedIssues.tsx

@@ -164,7 +164,7 @@ class TeamUnresolvedIssues extends AsyncComponent<Props, State> {
           isEmpty={projects.length === 0}
           isLoading={loading}
           headers={[
-            t('Projects'),
+            t('Project'),
             <RightAligned key="last">
               {tct('Last [period] Average', {period})}
             </RightAligned>,