Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Jul 12, 2020
1 parent 4beb248 commit 5f0c2a1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/web/src/helpers/resultsSort.ts
Expand Up @@ -29,12 +29,11 @@ export function defaultNumber(direction: SortDirection) {
}

export function getClade(res: SequenceAnylysisState) {
if (!res.result) {
const clades = res.result?.clades
if (!clades) {
return '-'
}

const clades = res.result?.clades

const { cladeStr } = formatClades(clades)
return cladeStr
}
Expand Down

0 comments on commit 5f0c2a1

Please sign in to comment.