aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityApp.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityApp.tsx')
-rw-r--r--server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityApp.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityApp.tsx b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityApp.tsx
index e3c0725684d..8f64b78ec38 100644
--- a/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityApp.tsx
+++ b/server/sonar-web/src/main/js/apps/projectActivity/components/ProjectActivityApp.tsx
@@ -26,7 +26,6 @@ import { MeasureHistory, Query, ParsedAnalysis } from '../utils';
import { parseDate } from '../../../helpers/dates';
import { translate } from '../../../helpers/l10n';
import Suggestions from '../../../app/components/embed-docs-modal/Suggestions';
-import { Metric, Component } from '../../../app/types';
import './projectActivity.css';
interface Props {
@@ -39,8 +38,8 @@ interface Props {
deleteEvent: (analysis: string, event: string) => Promise<void>;
graphLoading: boolean;
initializing: boolean;
- project: Pick<Component, 'configuration' | 'leakPeriodDate' | 'qualifier'>;
- metrics: Metric[];
+ project: Pick<T.Component, 'configuration' | 'leakPeriodDate' | 'qualifier'>;
+ metrics: T.Metric[];
measuresHistory: MeasureHistory[];
query: Query;
updateQuery: (changes: Partial<Query>) => void;