Skip to content

Commit

Permalink
Used 'yarn prettier' to appease 'yarn lint'
Browse files Browse the repository at this point in the history
Signed-off-by: Ed Snible <snible@us.ibm.com>
  • Loading branch information
esnible committed May 13, 2022
1 parent 19a28bd commit 6a2efad
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ export class UnconnectedSearchResults extends React.PureComponent<SearchResultsP
}
const cohortIds = new Set(diffCohort.map(datum => datum.id));
const searchUrl = queryOfResults ? getUrl(stripEmbeddedState(queryOfResults)) : getUrl();
const isErrorTag = ({ key, value }: KeyValuePair) => key === 'error' && (value === true || value === 'true');
const isErrorTag = ({ key, value }: KeyValuePair) =>
key === 'error' && (value === true || value === 'true');
return (
<div className="SearchResults">
<div className="SearchResults--header">
Expand All @@ -169,7 +170,7 @@ export class UnconnectedSearchResults extends React.PureComponent<SearchResultsP
traceID: t.traceID,
size: t.spans.length,
name: t.traceName,
color: t.spans.some(sp => sp.tags.some(isErrorTag)) ? "red" : "#12939A",
color: t.spans.some(sp => sp.tags.some(isErrorTag)) ? 'red' : '#12939A',
}))}
onValueClick={t => {
goToTrace(t.traceID);
Expand Down

0 comments on commit 6a2efad

Please sign in to comment.