Skip to content

Commit

Permalink
fix: Remove unused code and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tiithansen committed Jun 13, 2024
1 parent 167b72d commit 864d0d0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/AlertsTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
VariableValueSelectors,
SceneVariables,
} from '@grafana/scenes';
import { createNamespaceVariable, resolveVariable } from 'common/variableHelpers';
import { createNamespaceVariable } from 'common/variableHelpers';
import { SortingState } from 'common/sortingHelpers';
import { AsyncTable, Column, ColumnSortingConfig, QueryBuilder } from 'components/AsyncTable';
import { TextColor } from 'common/types';
Expand All @@ -17,8 +17,6 @@ import { alertLabelValues } from './utils';
import { expandedRowSceneBuilder } from './AlertExpandedRow';
import { LabelFilters, serializeLabelFilters } from 'common/queryHelpers';

const KNOWN_SEVERITIES = ['critical', 'high', 'warning', 'info'];

interface SeverityColors {
[key: string]: TextColor;
}
Expand Down Expand Up @@ -134,8 +132,6 @@ const columns: Array<Column<TableRow>> = [
}
]

const serieMatcherPredicate = (row: TableRow) => (value: any) => value.alertname === row.alertname;

function rowMapper(row: TableRow, asyncRowData: any) {

}
Expand Down

0 comments on commit 864d0d0

Please sign in to comment.