Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Sep 13, 2022
1 parent 8609aef commit de9e992
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ export const ExplainLogRateSpikesAnalysis: FC<ExplainLogRateSpikesAnalysisProps>
}, {} as Record<string, Record<string, number>>);

const tableItems = mockData.map(({ group, docCount }, index) => {
const sortedGroup = group.sort((a, b) => (a.field > b.field) ? 1 : ((b.field > a.field) ? -1 : 0));
const sortedGroup = group.sort((a, b) =>
a.field > b.field ? 1 : b.field > a.field ? -1 : 0
);
const dedupedGroup = {};
const repeatedValues = {};

Expand Down

0 comments on commit de9e992

Please sign in to comment.